PDA

View Full Version : How do I use opengl EXT functions?



analogic
07-22-2004, 06:39 AM
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.

marco_dup1
07-23-2004, 09:46 AM
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 ... . :-)