check for OpenGL version 2.0+