PDA

View Full Version : GL 2.0 tokens



HenriH
12-15-2007, 05:52 AM
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.

Michael Steinberg
12-15-2007, 06:20 AM
Here's a header file which includes what i think you need.

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

Trenki
12-16-2007, 03:01 AM
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 (http://www.trenki.net) | vector_math (3d math library) (http://www.trenki.net/content/view/16/36/) | software renderer (http://www.trenki.net/content/view/18/38/) ]

HenriH
12-16-2007, 06:52 AM
Thanks, I got it now.