mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 22:42:52 +08:00
Change my previous fix based on feedback from dev @saml
This commit is contained in:
@@ -651,7 +651,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
}
|
}
|
||||||
case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
|
case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
|
||||||
{
|
{
|
||||||
int format = ((Integer) msg.obj).intValue();
|
int format = (Integer) msg.obj;
|
||||||
int pf;
|
int pf;
|
||||||
|
|
||||||
if (SDLActivity.mSurface == null) {
|
if (SDLActivity.mSurface == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user