Whoops, need to pass that SDL format into native code
This commit is contained in:
parent
36207555fb
commit
f9f37e83fe
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue