mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-10 13:16:04 -04:00
Only requestRender() when GLTextureView is not null
This commit is contained in:
parent
f8a73da290
commit
7c68a3ac2a
@ -763,7 +763,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
mIsResuming = true;
|
||||
glSurfaceView.requestRender();
|
||||
if (glSurfaceView != null) glSurfaceView.requestRender();
|
||||
final int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
|
||||
final View decorView = getWindow().getDecorView();
|
||||
decorView.setSystemUiVisibility(uiOptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user