PDA

View Full Version : How to dectect if a application render using OpenGL?



zroy
04-27-2000, 12:30 AM
We have a application and we don't known if it use opengl to render. How can we detect using opengl function or other methods?

Humus
04-27-2000, 04:37 AM
Well ... if you just want to check one app once you could rename the OpenGL32.dll file to whatever you like, run the app and see if it says something like "Couldn't find OpenGL32.dll" ... and then rename it back ..

dmy
04-27-2000, 03:44 PM
is the application made by you or is a third-party? i can't understand...

if the code is yours, try glGetString(GL_RENDERER)

humus:
only if the app uses the GDI implementation.
you should look into the registry here:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\OpenGLDrivers]
and see what driver it is currently registered, then rename this.

Dolo/\/\ightY

[This message has been edited by dmy (edited 04-27-2000).]