aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/openglsdl/openglsdl-graphics.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-15 02:10:38 +0100
committerJohannes Schickel2012-02-15 02:23:47 +0100
commitb6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2 (patch)
treec35610464f2c0d84e69f875d26ed8b79c5f40e00 /backends/graphics/openglsdl/openglsdl-graphics.cpp
parent5b3ebdf43de0bd9f04138a6e841f816f34377021 (diff)
downloadscummvm-rg350-b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2.tar.gz
scummvm-rg350-b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2.tar.bz2
scummvm-rg350-b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2.zip
OPENGLSDL: Remove HACK in fullscreen toggle mode.
Altering the fullscreen state will automatically force a refresh now.
Diffstat (limited to 'backends/graphics/openglsdl/openglsdl-graphics.cpp')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index 53688e2fb5..b37d631c6d 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -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