diff --git a/project/jni/application/openarena/engine b/project/jni/application/openarena/engine index 3896ce30c..804e1e0e9 160000 --- a/project/jni/application/openarena/engine +++ b/project/jni/application/openarena/engine @@ -1 +1 @@ -Subproject commit 3896ce30c762035c3fbc3834cfc82aabe97d94be +Subproject commit 804e1e0e9c4e95e39d9fa263649651e013c7334b diff --git a/project/jni/sdl-1.2/src/video/SDL_video.c b/project/jni/sdl-1.2/src/video/SDL_video.c index 2e74d627a..365d32314 100644 --- a/project/jni/sdl-1.2/src/video/SDL_video.c +++ b/project/jni/sdl-1.2/src/video/SDL_video.c @@ -504,6 +504,7 @@ static int SDL_GetVideoMode (int *w, int *h, int *BitsPerPixel, Uint32 flags) /* This should probably go somewhere else -- like SDL_surface.c */ static void SDL_ClearSurface(SDL_Surface *surface) { +#ifndef __ANDROID__ Uint32 black; black = SDL_MapRGB(surface->format, 0, 0, 0); @@ -515,6 +516,7 @@ static void SDL_ClearSurface(SDL_Surface *surface) if (surface->flags&SDL_FULLSCREEN) { SDL_Flip(surface); } +#endif } /*