View Full Version : How will I know which OpenGL version a game is built on

08-14-2012, 11:53 PM
I am totally a new person to video technologies and wondering how will I know which OpenGL version a game is built on.
Can we check this on a game which has been built/tested on. I am using Mac OS. Downloaded GLView app and found out that this gives data on the system hardware.

Alfonse Reinheart
08-15-2012, 12:44 AM
For GL versions pre-3.0, there's no way to tell. OpenGL was fully backwards compatible; therefore, a program that was "built on" version 1.5 is also built on version 2.1.

Since then, if you want access to the core profile, you have to explicitly ask for a version. But many GL applications, even post-3.0, don't bother. They rely on the implicit compatibility profile they get. So again, there's no way to tell.

The absolute most you can do is hook into OpenGL32.dll (or use a hooking tool like glIntercept) in order to monitor which function pointers are acquired and which ones are ever actually used.