mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
OPENGLSDL: Remove HACK in fullscreen toggle mode.
Altering the fullscreen state will automatically force a refresh now.
This commit is contained in:
parent
5b3ebdf43d
commit
b6f7d69709
@ -460,10 +460,6 @@ void OpenGLSdlGraphicsManager::toggleFullScreen(int loop) {
|
||||
_activeFullscreenMode = -2;
|
||||
setFullscreenMode(!isFullscreen);
|
||||
}
|
||||
|
||||
// HACK: We need to force a refresh here, since we change the
|
||||
// fullscreen mode.
|
||||
_transactionDetails.needRefresh = true;
|
||||
endGFXTransaction();
|
||||
|
||||
// Ignore resize events for the next 10 frames
|
||||
|
Loading…
x
Reference in New Issue
Block a user