summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-12-14 15:36:36 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-12-15 12:38:20 (GMT)
commitc9a1070f71f18b051f574854c0cfd61f658d9b50 (patch)
tree56f35c118bf22659e07f2573eee0fdabaa74ff69
parent6c10c6b1dead65c4fef0fb04295cd360a54f5186 (diff)
downloadQt-c9a1070f71f18b051f574854c0cfd61f658d9b50.zip
Qt-c9a1070f71f18b051f574854c0cfd61f658d9b50.tar.gz
Qt-c9a1070f71f18b051f574854c0cfd61f658d9b50.tar.bz2
Added missing OpenGL defines.
-rw-r--r--src/opengl/qglextensions_p.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/opengl/qglextensions_p.h b/src/opengl/qglextensions_p.h
index 62e216c..488e752 100644
--- a/src/opengl/qglextensions_p.h
+++ b/src/opengl/qglextensions_p.h
@@ -599,6 +599,20 @@ struct QGLExtensionFuncs
#define GL_DECR_WRAP 0x8508
#endif
+#ifndef GL_VERSION_1_5
+#define GL_ARRAY_BUFFER 0x8892
+#define GL_ELEMENT_ARRAY_BUFFER 0x8893
+#define GL_STREAM_DRAW 0x88E0
+#define GL_STREAM_READ 0x88E1
+#define GL_STREAM_COPY 0x88E2
+#define GL_STATIC_DRAW 0x88E4
+#define GL_STATIC_READ 0x88E5
+#define GL_STATIC_COPY 0x88E6
+#define GL_DYNAMIC_DRAW 0x88E8
+#define GL_DYNAMIC_READ 0x88E9
+#define GL_DYNAMIC_COPY 0x88EA
+#endif
+
#ifndef GL_VERSION_2_0
#define GL_FRAGMENT_SHADER 0x8B30
#define GL_VERTEX_SHADER 0x8B31