Change my previous fix based on feedback from dev @saml

This commit is contained in:
Sam Lantinga 2019-04-23 14:08:14 -07:00
parent 624f8ca80d
commit f5252530d2
1 changed files with 1 additions and 1 deletions

View File

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