Removed incompatibilities with OpenGL 3.3.