diff options
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 135b1fcded..4ac2747d25 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -1270,10 +1270,7 @@ void OpenGLGraphicsManager::adjustMousePosition(int16 &x, int16 &y) { if (_overlayVisible) return; - if (_videoMode.mode == OpenGL::GFX_NORMAL) { - x /= _videoMode.scaleFactor; - y /= _videoMode.scaleFactor; - } else if (!_overlayVisible) { + if (!_overlayVisible) { x -= _displayX; y -= _displayY; |