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 c938e5b4b2
commit 3d23aa104e

View File

@@ -269,7 +269,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
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) {