[Commits] SDL: David Carre cpasjuste at gmail.com

libsdl.org revision control commits-owner at libsdl.org
Tue Jan 10 18:10:09 PST 2012


details:   http://hg.libsdl.org/SDL/rev/291fea716f09
changeset: 6208:291fea716f09
user:      Sam Lantinga <slouken at libsdl.org>
date:      Tue Jan 10 21:07:09 2012 -0500
description:
David Carre cpasjuste at gmail.com

I'm playing with SDL on android, and did notice a problem in latest sources ( branch "default" ) :

SDL/src/render/opengles/SDL_glesfuncs.h:10: error: 'glDrawTexiOES' undeclared (first use in this function)
SDL/src/render/opengles/SDL_glesfuncs.h:10: error: (Each undeclared identifier is reported only once

If it can help you win some time here is the fix, applied to the "Android.mk" file :

LOCAL_CFLAGS += -D GL_GLEXT_PROTOTYPES

diffstat:

 Android.mk |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 15ff38383cb7 -r 291fea716f09 Android.mk
--- a/Android.mk	Tue Jan 10 21:00:47 2012 -0500
+++ b/Android.mk	Tue Jan 10 21:07:09 2012 -0500
@@ -40,6 +40,7 @@
 	$(wildcard $(LOCAL_PATH)/src/video/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/video/android/*.c))
 
+LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
 LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog
 
 include $(BUILD_SHARED_LIBRARY)


More information about the commits mailing list