mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
OPENGLSDL: Simplify the code a bit.
This commit is contained in:
parent
c91b6d7d35
commit
772aecf5f8
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user