I knew Windows comes with Opengl drivers. If I also have NVidia driver, how to termine the OpenGL version?
I knew Windows comes with Opengl drivers.
Actually it doesn't. Windows comes with a OpenGL emulation. But actual OpenGL drivers are only available through the vendor original drivers.
how to termine the OpenGL version?
Create a OpenGL context and use the glGetString
function to retrieve the identifying values. Of most interest are GL_VERSION and GL_RENDERER.
You can use glGetString(GL_VERSION)
to retrieve the currently executing OpenGL Version.
wglMakeCurrent
to make an existing one current - Reed Copsey 2012-04-05 23:57