diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/MainActivity.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/MainActivity.java index ab1e088c4..591e20038 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/MainActivity.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/MainActivity.java @@ -363,6 +363,7 @@ public class MainActivity extends BaseActivity implements ControlButtonMenuListe mControlLayout.requestLayout(); mControlLayout.post(()->{ // Child of mControlLayout, so refreshing size here is correct + Tools.setFullscreen(this, setFullscreen()); minecraftGLView.refreshSize(); Tools.updateWindowSize(this); mControlLayout.refreshControlButtonPositions(); diff --git a/app_pojavlauncher/src/main/jni/ctxbridges/gl_bridge.c b/app_pojavlauncher/src/main/jni/ctxbridges/gl_bridge.c index 0a982d870..7f3571bac 100644 --- a/app_pojavlauncher/src/main/jni/ctxbridges/gl_bridge.c +++ b/app_pojavlauncher/src/main/jni/ctxbridges/gl_bridge.c @@ -126,7 +126,7 @@ void gl_swap_surface(gl_render_window_t* bundle) { } if (bundle->surface != NULL) eglDestroySurface_p(g_EglDisplay, bundle->surface); } else { - LOGW("Native surface dimensions (%d x %d) are invalid! Assuming android has already released window.\n", + LOGW("Native surface dimensions (%d x %d) are invalid! Assuming given nativeSurface is bad.\n", nativeWindowWidth, nativeWindowHeight); } if(bundle->newNativeSurface != NULL) {