I have “glext.h”, and GL_TEXTURE_3D is defined in the header file. The problem is, is when I try to Texture my Image using 3D, not 2D, it does not like the function glTexImage3D. I checked in my header file and it is in there, but my compiler can’t find the function. Also, the function GL_TEXTURE_3D is found by the compiler, but not glTexImage3D. Why?
error C2065: ‘glTexImage3D’ : undeclared identifier
The function pointers that are not in Microsoft’s OGL 1.1 library have to be obtained manually using wglGetProcAddress().
This is a commonly asked beginner question, so if you search the boards here for “extensions” I’m sure you’ll be able to find a code snippet to help you.
[This message has been edited by Zeno (edited 01-17-2003).]
Sorry for posting it here, I just thought it was an advanced question.
No problem. I didn’t mean to say that twice (edited).