rendering context can only be created up to the version of OpenGL supported by
the OpenGL driver.
(part of the GLEW distribution
provide all the OpenGL capabilities of your hardware. After running it, the program will output a
text file describing all the OpenGL versions and extensions supported by the
determine the OpenGL version at runtime, call:const GLubyte *verString = glGetString(GL_VERSION);
you’re working on your own computer, check which version of OpenGL it supports