Commit Graph

5 Commits

Author SHA1 Message Date
Sam Lantinga
edf0fae139 Updated Android build tools version, which bumped minimum deployment target to API 14
Also added native code to the Android gradle project, which allows using gradle or Android Studio to build the entire SDL application without a separate ndk-build step.
2017-10-23 23:23:47 -07:00
Sam Lantinga
f08480af78 Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
Philipp Wiesemann
e7a9095f55 Android: Fixed androidbuild.sh not working on OS X (thanks, Steffen!).
Fixes Bugzilla #2429.
2016-07-18 22:01:01 +02:00
Philipp Wiesemann
682604b2f3 Android: Changed androidbuild.sh to use path from variable. 2015-07-31 20:15:02 +02:00
Philipp Wiesemann
0e45984fa0 Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00