From 59f8dca7cf7ce2b21d3bfe59c55bd3927de7f39c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 31 May 2010 10:15:55 +0800 Subject: Update OpenGL ES headers. --- src/mesa/Makefile | 4 ++-- src/mesa/main/es_generator.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 3bb2f39475b..4f81768924a 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 a3e089ed58e..9a8f5a6f5e0 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, ... ); -- cgit v1.2.3