Mesa (master): mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES

Brian Paul brianp at kemper.freedesktop.org
Wed Apr 15 02:01:31 UTC 2009


Module: Mesa
Branch: master
Commit: 62c45ec951829563b92a95cce5b9621e70c971a4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62c45ec951829563b92a95cce5b9621e70c971a4

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr 14 19:56:59 2009 -0600

mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES

---

 src/mesa/main/glheader.h     |    5 +++++
 src/mesa/shader/shader_api.c |    5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index ad09532..81d4ccf 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 61289db..75e3896 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.
  */




More information about the mesa-commit mailing list