Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml

This commit is contained in:
Sam Lantinga 2019-04-23 12:59:28 -07:00
parent 45b5453b16
commit ecce803d54

View file

@ -651,7 +651,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
}
case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
{
int format = ((int)msg.obj);
int format = ((Integer) msg.obj).intValue();
int pf;
if (SDLActivity.mSurface == null) {