diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:24:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:24:53 +0300 |
commit | b792606533096577b91a7b744813f62984d31d09 (patch) | |
tree | 6a5fd98f12382b641cab95df22f7d47fa331b7c4 | |
parent | e267d1f962f7a13616139c93a168ec77ddd889b6 (diff) | |
download | plus-b792606533096577b91a7b744813f62984d31d09.tar.gz plus-b792606533096577b91a7b744813f62984d31d09.tar.bz2 plus-b792606533096577b91a7b744813f62984d31d09.tar.xz plus-b792606533096577b91a7b744813f62984d31d09.zip |
add OpenGL flags into Android.mk.
-rw-r--r-- | Android.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk index f8e732942..80bddbd40 100644 --- a/Android.mk +++ b/Android.mk @@ -17,13 +17,12 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \ $(ROOT_PATH)/curl/include \ $(ROOT_PATH)/SDL2_net-2.0.0 -# -DUSE_OPENGL -LOCAL_CPPFLAGS += -DUSE_SDL2 -DUSE_INTERNALGUICHAN -DEATHENA_SUPPORT +LOCAL_CPPFLAGS += -DUSE_SDL2 -DUSE_INTERNALGUICHAN -DEATHENA_SUPPORT -DUSE_OPENGL LOCAL_CPPFLAGS += -frtti -fexceptions -Wno-error=format-security LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer sdl_net SDL2_ttf SDL2_image libcurl intl png physfs sdl2_gfx xml2 -LOCAL_LDLIBS := -lGLESv1_CM -llog -lz +LOCAL_LDLIBS := -lGLESv1_CM -lEGL -llog -lz # Add your application source files here... LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ |