From 019aa63b1580a2b629f45aa436cae47b0b330794 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 17 Mar 2011 17:40:51 +0100 Subject: OPENGL: Fix "Original" mode by setting up the corret screen dimensions. --- backends/graphics/opengl/opengl-graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/graphics/opengl') diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 6bd790237a..2407f5d989 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -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; -- cgit v1.2.3