Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Whoops, need to pass that SDL format into native code
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 13, 2011
1 parent c2021a1 commit 66c0883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -269,7 +269,7 @@ public void surfaceChanged(SurfaceHolder holder,
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) {
Expand Down

0 comments on commit 66c0883

Please sign in to comment.