diff options
author | Sam Lantinga <slouken@libsdl.org> | 2012-01-10 21:07:09 -0500 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2012-01-10 21:07:09 -0500 |
commit | c6de6f43b3d9f05ebe8c7f77929a6595aa8aa83d (patch) | |
tree | d59249992ff1a18f8c38e7336f9227b7b93a8dd8 | |
parent | 335817967378c7d1ff3203093af328031594aae7 (diff) | |
download | sdl-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
-rwxr-xr-x | Android.mk | 1 |
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) |