summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-03-27 17:51:10 +0100
committerRoland Scheidegger <sroland@vmware.com>2009-03-28 02:02:35 +0100
commita9bf5b5ccac2a75f1a2470d4910361e65b2d8eab (patch)
treeea53be9fa1883c69f96b96ad07f9f5852df6383a /include/GL
parent0d9a715ceafb47872696214dea7983302323cfe1 (diff)
gl: add new OGL 3.1 enums to glext.h
This is just temporary until the upstream source is updated.
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glext.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index 1f0c20a949..41149c935a 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -716,6 +716,24 @@ extern "C" {
/* reuse GL_VERTEX_ARRAY_BINDING */
#endif
+#ifndef GL_VERSION_3_1
+#define GL_RED_SNORM 0x8F90
+#define GL_RG_SNORM 0x8F91
+#define GL_RGB_SNORM 0x8F92
+#define GL_RGBA_SNORM 0x8F93
+#define GL_R8_SNORM 0x8F94
+#define GL_RG8_SNORM 0x8F95
+#define GL_RGB8_SNORM 0x8F96
+#define GL_RGBA8_SNORM 0x8F97
+#define GL_R16_SNORM 0x8F98
+#define GL_RG16_SNORM 0x8F99
+#define GL_RGB16_SNORM 0x8F9A
+#define GL_RGBA16_SNORM 0x8F9B
+#define GL_SIGNED_NORMALIZED 0x8F9C
+#define GL_PRIMITIVE_RESTART 0x8F9D
+#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
+#endif
+
#ifndef GL_ARB_multitexture
#define GL_TEXTURE0_ARB 0x84C0
#define GL_TEXTURE1_ARB 0x84C1