GL 2.0 tokens


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.


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

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.

[ | vector_math (3d math library) | software renderer ]

Thanks, I got it now.