BACKENDS: OPENGLSDL: Fix switching to full screen with Alt+Enter

This commit is contained in:
Eugene Sandulenko
2021-04-11 21:21:44 +02:00
parent 5e395d166a
commit bb15133a0a
@@ -445,7 +445,7 @@ bool OpenGLSdlGraphicsManager::setupMode(uint width, uint height) {
width = _desiredFullscreenWidth;
height = _desiredFullscreenHeight;
flags |= SDL_WINDOW_FULLSCREEN;
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
}
// Request a OpenGL (ES) context we can use.