Commit f9f37e83 authored by Sam Lantinga's avatar Sam Lantinga

Whoops, need to pass that SDL format into native code

parent 36207555
...@@ -269,7 +269,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment