PDA

View Full Version : GL_MAX_ELEMENTS_VERTICIES removed from OpenGL????



Eugene Lawson
08-19-2004, 07:30 AM
when I compile my code with the following line
glGetIntegerv(GL_MAX_ELEMENTS_VERTICES,&val);
The compiler generates an error on gl_max_elemets_vertices saying its a undeclared identifier.

I now this pEnum is in both the Red and Blue book
does any1 know what the problem is

Only Sophoo...
08-19-2004, 08:18 PM
Hi,

GL_MAX_ELEMENTS_VERTICES is an enum for OpenGL Version 1.2. The blue book and red book are for v1.2

You can look for this enum defination in gl.h.

My observation for windows based implementation, In the gl.h : you will find an enum
GL_MAX_ELEMENTS_VERTICES_WIN. This enum seems to be an equivalent enum for it.

Hope this helps
sophia