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 3 of 3

Thread: gl.h constants definitions

  1. #1
    Member Regular Contributor
    Join Date
    Apr 2001
    Location
    Greece
    Posts
    496

    gl.h constants definitions

    This probably sounds pretty stupid but,are the constants defined in gl.h (like say GL_TEXTURE_2D) common(i.e. do they have the same value) among different implementations of opengl?They should or else apps compiled with one implementation might not work with the other but I haven't seen anything about them in the specs(not that I have looked much).
    Also do they remain constant when new versions of opengl come out.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: gl.h constants definitions

    The value of the constants are the same on all implementtions, and they keep their value over new versions of OpenGL.

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2002
    Posts
    5

    Re: gl.h constants definitions

    most of the consants are values to the GLenum data type.

Posting Permissions

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