wrapping opengl32.dll

I’m wondering if anyone know if it’s possible to wrap the manufactorers opengl dll.

My card comes with a mini GL driver and I’d like to intercept the gl calls and do some “tampering” just for kicks.

I’m not very familiar with loading/calling dlls from C other than just including the GL header file and linking to the lib to get a couple of small projects I’ve done to run.

Any comments no matter how breif would be appreciated.


Hm, not sure if that answers your question, but …

Make a new DLL what exports all mini GL driver functions. Registers your DLL to be THE OpenGL DLL. Inside your DLL, you eighter call up your gfx card native DLL, or do your own stuff (or both)

Hope that helped you.