made love.window.setFullscreen() work

This commit is contained in:
fysx
2015-02-02 22:42:08 +01:00
parent d0f866e4b0
commit f31760c445
@@ -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);
}