From 772aecf5f8c5ac69dd3755bb948c6ebdb5a11f94 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 15 Dec 2011 21:53:09 +0100 Subject: OPENGLSDL: Simplify the code a bit. --- backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'backends/graphics/openglsdl') 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; } } -- cgit v1.2.3