diff options
author | Johannes Schickel | 2011-09-23 19:45:44 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-09-23 19:45:44 +0200 |
commit | 325addff0cd8fac98927ccedc1115f8da4dfdfaa (patch) | |
tree | e26eaabfea2d25bf17fde1aaba28850c43b2346b /backends/graphics/openglsdl/openglsdl-graphics.cpp | |
parent | 75fb3b4ef89f531f8d5b95036a38351d3731f577 (diff) | |
download | scummvm-rg350-325addff0cd8fac98927ccedc1115f8da4dfdfaa.tar.gz scummvm-rg350-325addff0cd8fac98927ccedc1115f8da4dfdfaa.tar.bz2 scummvm-rg350-325addff0cd8fac98927ccedc1115f8da4dfdfaa.zip |
OPENGLSDL: Make fullscreen mode switching work again.
Diffstat (limited to 'backends/graphics/openglsdl/openglsdl-graphics.cpp')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 84515732fe..cfc78cfcac 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -460,6 +460,10 @@ 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 |