diff options
author | Johannes Schickel | 2011-12-15 21:53:09 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-15 21:53:09 +0100 |
commit | 772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94 (patch) | |
tree | 63eb7786d95952ae097e94406c09cb15c5f063cf /backends | |
parent | c91b6d7d357300597e74126b48aa1473587a8133 (diff) | |
download | scummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.tar.gz scummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.tar.bz2 scummvm-rg350-772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94.zip |
OPENGLSDL: Simplify the code a bit.
Diffstat (limited to 'backends')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 |
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; } } |