summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-05-31 10:15:55 +0800
committerChia-I Wu <olv@lunarg.com>2010-05-31 10:43:17 +0800
commit59f8dca7cf7ce2b21d3bfe59c55bd3927de7f39c (patch)
tree9469f2978162b8851354053776f3ffb6f2c08c50 /src
parent8e1b375a8d186c0241239630f766f20513fa5371 (diff)
Update OpenGL ES headers.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile4
-rw-r--r--src/mesa/main/es_generator.py3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 3bb2f39475..4f81768924 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -17,8 +17,8 @@ ES1_OBJ_DIR := objs-es1
ES2_OBJ_DIR := objs-es2
MESA_CPPFLAGS := $(API_DEFINES)
-ES1_CPPFLAGS := -DFEATURE_ES1=1 -D__GL_EXPORTS
-ES2_CPPFLAGS := -DFEATURE_ES2=1 -D__GL_EXPORTS
+ES1_CPPFLAGS := -DFEATURE_ES1=1
+ES2_CPPFLAGS := -DFEATURE_ES2=1
include sources.mak
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index a3e089ed58..9a8f5a6f5e 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -203,9 +203,6 @@ print """
typedef double GLdouble;
typedef double GLclampd;
-/* This type is normally in glext.h, but needed here */
-typedef char GLchar;
-
/* Mesa error handling requires these */
extern void *_mesa_get_current_context(void);
extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );