PDA

View Full Version : Need help with GL extensions please



Bored
08-19-2004, 12:09 AM
Hi,

I am trying to use the multi-texturing extension in my code. I program in Windows XP and my video card is Kyro II. I followed a few guides on the internet, but I still couldn't make it work.

My problem is that the constant such as GL_TEXTURE0_ARB or GL_MAX_TEXTURE_UNITS_ARB are undefined. The constants are not found in my gl.h. However, when I checked the supported extensions using glGetString(GL_EXTENSIONS), GL_ARB_multitexture was shown in the list.

Is there anything else that I have to include to define the constant? Thanks in advance.

Bob
08-19-2004, 12:20 AM
Here (http://www.gamedev.net/reference/articles/article1929.asp) 's an article you should read about extensions.