How do I use opengl EXT functions?

I included glext.h and I want to use glColorTableEXT() in my code but I get an error saying that the function glColorTableEXT() is undeclared. What else do I need to do to get this function to work? Thanks.

Originally posted by analogic:
I included glext.h and I want to use glColorTableEXT() in my code but I get an error saying that the function glColorTableEXT() is undeclared. What else do I need to do to get this function to work? Thanks.
AFAIK glColorTable is in the core since 1.2? You must #define GL_GLEXT_PROTOTYPES. Look at the source … . :slight_smile:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.