From: Brian Paul Date: Wed, 15 Apr 2009 01:56:59 +0000 (-0600) Subject: mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62c45ec951829563b92a95cce5b9621e70c971a4;p=mesa.git mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES --- 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. */