Need help with GL extensions please


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.

Here 's an article you should read about extensions.