PDA

View Full Version : A Stupid question about OpenGL Version



Rong Yao
06-11-2004, 10:10 AM
I am using Microsoft OpenGL. The developing environment is Microsoft Visual Studio.net 2003. From the header files of OpenGL I can read BUILD Version: 0004. But how can I get to know the version of OpenGL I am currently using? Thanks!

brcain
06-11-2004, 11:42 AM
printf("OpenGL Version : %s\n", glGetString(GL_VERSION));
printf("OpenGL Vendor : %s\n", glGetString(GL_VENDOR));
printf("OpenGL Renderer : %s\n", glGetString(GL_RENDERER));

Rong Yao
06-11-2004, 01:47 PM
Thanks a lot!