set up opengl stuff