OPENGLSDL: Simplify the code a bit.
This commit is contained in:
parent
c91b6d7d35
commit
772aecf5f8
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue