From 5db48abedd1c2247dcb4e4d3f749b3197b265222 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 19 Sep 2009 09:57:41 -0600 Subject: added tokens/typedef for GL_ARB_provoking_vertex --- src/glh/glwrap.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/glh/glwrap.h b/src/glh/glwrap.h index 557c302..8463eb3 100644 --- a/src/glh/glwrap.h +++ b/src/glh/glwrap.h @@ -178,6 +178,14 @@ #endif +#ifndef GL_ARB_provoking_vertex +#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C +#define GL_FIRST_VERTEX_CONVENTION 0x8E4D +#define GL_LAST_VERTEX_CONVENTION 0x8E4E +#define GL_PROVOKING_VERTEX 0x8E4F +#endif + + #ifndef GL_ARB_map_buffer_range #define GL_MAP_READ_BIT 0x0001 #define GL_MAP_WRITE_BIT 0x0002 @@ -655,6 +663,9 @@ typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLe // GL_EXT_provoking_vertex typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); +// GL_ARB_provoking_vertex +typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXPROC) (GLenum mode); + // OpenGL 1.2 enumerants, to allow glean to be compiled on OpenGL 1.1 systems. // (This odd workaround is needed to handle problems with some copies of // glext.h that are floating around the net.) -- cgit v1.2.3