I can compile and run my programs on machines with nvidia cards. Now I moved to a machine with an ATI card and I am facing several problems. I hope you’ll be able to help me.
First, glXGetProcAddressARB is unrecognized by the compiler. I’ve checked this but it seems it is well defined in glx.h header.
Second, it appears that glActiveStencilFaceEXT is not supported on ATI cards.
I can’t help on glXGetProcAddressARB side … I’m not a Linux programmer.
But glActiveStencilFaceEXT it a function of an nVidia extension GL_EXT_stencil_two_side… which get promoted, the ARB used something between GL_EXT_stencil_two_side and GL_ATI_separate_stencil to include this feature in OpenGL 2.0 core specification.
I think nVidia is wrong' here. According to the OpenGL 2.1 reference pages it should be glXGetProcAddress’ (without ARB). Or perhaps it can also be used as an extension in earlier OpenGL versions and so the ARB and the non-ARB versions of the function exist.