Whoops, need to pass that SDL format into native code

This commit is contained in:
Sam Lantinga 2011-01-12 16:35:03 -08:00
parent 36207555fb
commit f9f37e83fe

View file

@ -269,7 +269,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
sdlFormat = 0x86161804; // SDL_PIXELFORMAT_RGB888 sdlFormat = 0x86161804; // SDL_PIXELFORMAT_RGB888
break; break;
} }
SDLActivity.onNativeResize(width, height, format); SDLActivity.onNativeResize(width, height, sdlFormat);
// Now start up the C app thread // Now start up the C app thread
if (mSDLThread == null) { if (mSDLThread == null) {