PDA

View Full Version : Extension documentation



gdewan
02-11-2004, 06:36 AM
I was wanting information on vertex buffer objects, so I downloaded the spec for ARB_vertex_buffer_object. What I was wondering was why the it doesn't include the 'gl' for function names, etc. For example, instead of

glDrawArrays(GL_TRIANGLE_STRIP, 0, 16);

we get

DrawArrays(TRIANGLE_STRIP, 0, 16);

Any reason for this?

Relic
02-11-2004, 07:01 AM
It's done that way throughout all (most of) GL specs to allow a nice glossary where not all functions are found under "G" then. http://www.opengl.org/discussion_boards/ubb/wink.gif