work with OpenGL 2.0