[Scummvm-cvs-logs] scummvm master -> 772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94
lordhoto
lordhoto at gmail.com
Thu Dec 15 21:53:57 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
772aecf5f8 OPENGLSDL: Simplify the code a bit.
Commit: 772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94
https://github.com/scummvm/scummvm/commit/772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-12-15T12:53:09-08:00
Commit Message:
OPENGLSDL: Simplify the code a bit.
Changed paths:
backends/graphics/openglsdl/openglsdl-graphics.cpp
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index ab44b00..f2b3168 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;
}
}
More information about the Scummvm-git-logs
mailing list