mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 00:20:57 +02:00
made love.window.setFullscreen() work
This commit is contained in:
@@ -535,6 +535,10 @@ bool Window::setFullscreen(bool fullscreen, Window::FullscreenType fstype)
|
||||
SDL_GL_GetDrawableSize(window, &width, &height);
|
||||
#endif
|
||||
|
||||
#ifdef LOVE_ANDROID
|
||||
love::android::setImmersive(fullscreen);
|
||||
#endif
|
||||
|
||||
gfx->setViewportSize(width, height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user