aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/glheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/glheader.h')
-rw-r--r--mesalib/src/mesa/main/glheader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/glheader.h b/mesalib/src/mesa/main/glheader.h
index 315232371..e93ca30e7 100644
--- a/mesalib/src/mesa/main/glheader.h
+++ b/mesalib/src/mesa/main/glheader.h
@@ -144,6 +144,13 @@ typedef void *GLeglImageOES;
#endif
+/* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT.
+ */
+#ifndef GL_HALF_FLOAT_OES
+#define GL_HALF_FLOAT_OES 0x8D61
+#endif
+
+
/**
* Internal token to represent a GLSL shader program (a collection of
* one or more shaders that get linked together). Note that GLSL