Skip to content

Commit

Permalink
OPENGL: Fix "Original" mode by setting up the corret screen dimensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Mar 17, 2011
1 parent e08683d commit 019aa63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/graphics/opengl/opengl-graphics.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 019aa63

Please sign in to comment.