diff android-project/src/org/libsdl/app/SDLActivity.java @ 4988:f9af88a9c823

Whoops, need to pass that SDL format into native code
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Jan 2011 16:35:03 -0800
parents 660d3a432102
children 58b6bb4a45e9
line wrap: on
line diff
--- 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) {