summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2012-01-10 21:07:09 -0500
committerSam Lantinga <slouken@libsdl.org>2012-01-10 21:07:09 -0500
commitc6de6f43b3d9f05ebe8c7f77929a6595aa8aa83d (patch)
treed59249992ff1a18f8c38e7336f9227b7b93a8dd8 /Android.mk
parent335817967378c7d1ff3203093af328031594aae7 (diff)
downloadsdl-c6de6f43b3d9f05ebe8c7f77929a6595aa8aa83d.tar.gz
David Carre cpasjuste@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 (limited to 'Android.mk')
-rwxr-xr-xAndroid.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index bc3287437..c80e84279 100755
--- a/Android.mk
+++ b/Android.mk
@@ -40,6 +40,7 @@ LOCAL_SRC_FILES := \
$(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)