move opengl stuff to stuff