GL 2.0 tokens

Hello,

I can find the OpenGL 2.0 function prototypes from the official spec, but where might I find values of the token symbols? For example, what is the value of GL_STREAM_DRAW, GL_STREAM_READ etc.

Thanks.

Here’s a header file which includes what i think you need.

http://oss.sgi.com/projects/ogl-sample/ABI/glext.h

I suggest to use GLEW. It makes using OpenGL functionality beyond OpenGL extremly easy. All the functions and symbols are already defined, you can simply call your functions.

[ www.trenki.net | vector_math (3d math library) | software renderer ]

Thanks, I got it now.