PDA

View Full Version : glTextImage3d undeclared?



JOSE ML
09-09-2002, 02:36 PM
Hi, i was getting errors on gl.h and someone told me to include windows.h before gl.h and the problem was solved, but now i get:

c:\c-cpp\opengl\xeya\loadtext.h(43) : error C2065: 'GL_TEXTURE_3D' : undeclared identifier
c:\c-cpp\opengl\xeya\loadtext.h(58) : error C2065: 'glTexImage3D' : undeclared identifier
c:\c-cpp\opengl\xeya\loadtext.h(85) : error C2065: 'GL_TEXTURE_WRAP_R' : undeclared identifier


hows this possible? =\

chowe6685
09-09-2002, 04:06 PM
windows libs/headers are currently at version 1.1, those functions are version 1.2 (or higher) therefore they are not defined. Use glext + load them as extensions