summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-19 09:57:41 -0600
committerBrian Paul <brianp@vmware.com>2009-12-21 17:58:01 -0700
commit5db48abedd1c2247dcb4e4d3f749b3197b265222 (patch)
tree2fde890899e5b54ec4d450f3d4e4b56774f4ffeb
parente519a6bd2e3f66036fefc658a467e86dbc788a96 (diff)
added tokens/typedef for GL_ARB_provoking_vertex
-rw-r--r--src/glh/glwrap.h11
1 files changed, 11 insertions, 0 deletions
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.)