PDA

View Full Version : GL_TEXTURE_RECTANGLE_NV compiler error



07-06-2003, 12:59 AM
when I try to use glenable()and other texture related openGL calls with GL_TEXTURE_RECTANLE_NV I get a compiler error of undeclared identifier. I didn't realize I needed to include extra headers for nvidia extensions? Can anybody give me a hint as to how to remedy this? Google searches have proved useless.

thanks.

Brian Jones
07-06-2003, 06:24 PM
You need this http://oss.sgi.com/projects/ogl-sample/ABI/glext.h header to use that extension. Also there are windowing system extensions if you decide to use window extensions, glx: http://oss.sgi.com/projects/ogl-sample/ABI/glxext.h
and wgl: http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h