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

View File

@ -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) {