summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglextensions_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-09-03 12:51:07 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-09-03 12:56:47 (GMT)
commitaa0a85a5c333e7a35101e469cf3f001c41e0f350 (patch)
treef78a9f86d5fbcd1d9721eff6067a7f358b1f862c /src/opengl/qglextensions_p.h
parent1bfc0fbf6ea476af24be545c95768e363c61a1c5 (diff)
downloadQt-aa0a85a5c333e7a35101e469cf3f001c41e0f350.zip
Qt-aa0a85a5c333e7a35101e469cf3f001c41e0f350.tar.gz
Qt-aa0a85a5c333e7a35101e469cf3f001c41e0f350.tar.bz2
Fixed bindTexture() on bigendian and older implementations
Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qglextensions_p.h')
-rw-r--r--src/opengl/qglextensions_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opengl/qglextensions_p.h b/src/opengl/qglextensions_p.h
index 8839f60..b1c9503 100644
--- a/src/opengl/qglextensions_p.h
+++ b/src/opengl/qglextensions_p.h
@@ -418,6 +418,10 @@ struct QGLExtensionFuncs
#define GL_UNSIGNED_SHORT_5_6_5 33635
#endif
+#ifndef GL_UNSIGNED_INT_8_8_8_8_REV
+#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
+#endif
+
#ifndef GL_MULTISAMPLE
#define GL_MULTISAMPLE 0x809D
#endif