Whoops, need to pass that SDL format into native code
authorSam Lantinga <slouken@libsdl.org>
Wed, 12 Jan 2011 16:35:03 -0800
changeset 4988 f9af88a9c823
parent 4987 b68a0e03db02
child 4989 58b6bb4a45e9
Whoops, need to pass that SDL format into native code
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Wed Jan 12 15:58:53 2011 -0800
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Wed Jan 12 16:35:03 2011 -0800
@@ -269,7 +269,7 @@
             sdlFormat = 0x86161804; // SDL_PIXELFORMAT_RGB888
             break;
         }
-        SDLActivity.onNativeResize(width, height, format);
+        SDLActivity.onNativeResize(width, height, sdlFormat);
 
         // Now start up the C app thread
         if (mSDLThread == null) {