mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Change my previous fix based on feedback from dev @saml
This commit is contained in:
parent
624f8ca80d
commit
f5252530d2
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user