Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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
  • Loading branch information
slouken committed Jan 11, 2012
1 parent e247023 commit dee5f9a096ad39bb2bfe9fcae21d8323dd256ad0
Showing with 1 addition and 0 deletions.
  1. +1 −0 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)

0 comments on commit dee5f9a

Please sign in to comment.