Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How do I use opengl EXT functions?

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2004
    Location
    boston
    Posts
    9

    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.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2004
    Location
    Magdeburg, Germany
    Posts
    120

    Re: How do I use opengl EXT functions?

    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 ... . :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •