summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-14 19:56:59 -0600
committerBrian Paul <[email protected]>2009-04-14 19:56:59 -0600
commit62c45ec951829563b92a95cce5b9621e70c971a4 (patch)
tree91245d4dd40f1735e3cf8dda638fb9d773f7f6ef
parentfe278f1e600058af18c6ba5fe77bfc5a772bf9f5 (diff)
mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES
-rw-r--r--src/mesa/main/glheader.h5
-rw-r--r--src/mesa/shader/shader_api.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index ad095321e39..81d4ccf919f 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -74,6 +74,11 @@
#endif
+#ifndef GL_PROGRAM_BINARY_LENGTH_OES
+#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
+#endif
+
+
/**
* Special, internal token
*/
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index 61289db2d2e..75e38960e9d 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -51,11 +51,6 @@
#include "glapi/dispatch.h"
-#ifndef GL_PROGRAM_BINARY_LENGTH_OES
-#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
-#endif
-
-
/**
* Allocate a new gl_shader_program object, initialize it.
*/