Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How will I know which OpenGL version a game is built on

  1. #1
    Newbie Newbie
    Join Date
    Aug 2012
    Posts
    1

    How will I know which OpenGL version a game is built on

    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.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,718
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •