OPENGL: Fix "Original" mode by setting up the corret screen dimensions.
This commit is contained in:
parent
e08683d939
commit
019aa63b15
1 changed files with 2 additions and 2 deletions
|
@ -903,8 +903,8 @@ void OpenGLGraphicsManager::refreshCursorScale() {
|
|||
|
||||
void OpenGLGraphicsManager::calculateDisplaySize(int &width, int &height) {
|
||||
if (_videoMode.mode == OpenGL::GFX_ORIGINAL) {
|
||||
width = _videoMode.overlayWidth;
|
||||
height = _videoMode.overlayHeight;
|
||||
width = _videoMode.screenWidth;
|
||||
height = _videoMode.screenHeight;
|
||||
} else {
|
||||
width = _videoMode.hardwareWidth;
|
||||
height = _videoMode.hardwareHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue