SDL 1.2 compiles, runs, but does not output anything on screen

This commit is contained in:
pelya
2010-07-16 18:55:39 +03:00
parent 8af1bad261
commit 784b430996
9 changed files with 295 additions and 33 deletions

View File

@@ -3,6 +3,7 @@
var=""
LibSdlVersionOld=$LibSdlVersion
echo -n "\nlibSDL version to use (1.2 or 1.3), 1.2 is not HW accelerated yet ($LibSdlVersion): "
read var
if [ -n "$var" ] ; then
@@ -215,5 +216,8 @@ touch project/jni/sdl/src/video/SDL_video.c
touch project/jni/sdl/src/video/SDL_renderer_gles.c
touch project/jni/sdl/src/audio/android/*.c
rm -rf project/libs/*
if [ "$LibSdlVersionOld" '!=' "$LibSdlVersion" ]; then
rm -rf project/bin/ndk/local/armeabi/objs/sdl project/bin/ndk/local/armeabi/libsdl.so
fi
echo Done