Change my previous fix based on feedback from dev @saml
authorSam Lantinga <slouken@libsdl.org>
Tue, 23 Apr 2019 14:08:14 -0700
changeset 1271831db2b7fd29f
parent 12717 ce0b6e21520e
child 12719 b9da55e54f98
Change my previous fix based on feedback from dev @saml
android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Apr 23 14:08:09 2019 -0700
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Apr 23 14:08:14 2019 -0700
     1.3 @@ -651,7 +651,7 @@
     1.4              }
     1.5              case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
     1.6              {
     1.7 -                int format = ((Integer) msg.obj).intValue();
     1.8 +                int format = (Integer) msg.obj;
     1.9                  int pf;
    1.10  
    1.11                  if (SDLActivity.mSurface == null) {