aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/openglsdl
diff options
context:
space:
mode:
authorJohannes Schickel2011-12-15 21:53:09 +0100
committerJohannes Schickel2011-12-15 21:53:09 +0100
commit772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94 (patch)
tree63eb7786d95952ae097e94406c09cb15c5f063cf /backends/graphics/openglsdl
parentc91b6d7d357300597e74126b48aa1473587a8133 (diff)
downloadscummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.tar.gz
scummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.tar.bz2
scummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.zip
OPENGLSDL: Simplify the code a bit.
Diffstat (limited to 'backends/graphics/openglsdl')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index ab44b00104..f2b3168e36 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -323,8 +323,6 @@ bool OpenGLSdlGraphicsManager::loadGFXMode() {
_videoMode.overlayHeight = _videoMode.hardwareHeight = 240 * scaleFactor;
else if (_videoMode.screenWidth == 640 && _videoMode.screenHeight == 400)
_videoMode.overlayHeight = _videoMode.hardwareHeight = 480 * scaleFactor;
- } else {
- _videoMode.overlayHeight = _videoMode.hardwareHeight = _videoMode.screenHeight * scaleFactor;
}
}