Started GLSL programming by the famous lighthouse3d tutorial
I am used to use Glew to setup the OpenGL Extension like: glCompileShaderARB
I have some weird error report that my program failed to load on some computer with a better GPU than mine. I develop and test it on my GeForce FX 5600, but people failed to load on 6800 Ultra. Seems that failed to init the function and shader source.
I'd like to try setup the GL Extension without using Glew. But I just know how to setup glTexImage3D:
PFNGLTEXIMAGE3DPROC glTexImage3D;
glTexImage3D = (PFNGLTEXIMAGE3DPROC) wglGetProcAddress("glTexImage3D");
My question is how to setup all the necessary extension functions,
I have download the glext.h neader file from SGI site and included in my project, but still get loads of error about "undeclared identifier" :( Is there any example I can refer to?
Thanks in advance,
zhang












