Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml
parent
45b5453b16
commit
ecce803d54
|
@ -651,7 +651,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||||
}
|
}
|
||||||
case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
|
case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
|
||||||
{
|
{
|
||||||
int format = ((int)msg.obj);
|
int format = ((Integer) msg.obj).intValue();
|
||||||
int pf;
|
int pf;
|
||||||
|
|
||||||
if (SDLActivity.mSurface == null) {
|
if (SDLActivity.mSurface == null) {
|
||||||
|
|
Loading…
Reference in New Issue