diff options
author | Alejandro Marzini | 2010-07-19 23:58:48 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-19 23:58:48 +0000 |
commit | f6e04fe03bfc5177229cf0ff29b850925cece2e1 (patch) | |
tree | 9f45231362ef7ecab819b5ae7023c63d6c1bda1b /backends/graphics/openglsdl | |
parent | 6f70a303bcda770b831e4d22b119f814d2a3a29d (diff) | |
download | scummvm-rg350-f6e04fe03bfc5177229cf0ff29b850925cece2e1.tar.gz scummvm-rg350-f6e04fe03bfc5177229cf0ff29b850925cece2e1.tar.bz2 scummvm-rg350-f6e04fe03bfc5177229cf0ff29b850925cece2e1.zip |
OPENGL: Fix adjustment of mouse coordinates when screen is resized and scaled.
svn-id: r51046
Diffstat (limited to 'backends/graphics/openglsdl')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 938eaaf4c3..8047ad9596 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -279,8 +279,6 @@ bool OpenGLSdlGraphicsManager::notifyEvent(const Common::Event &event) { break;*/ // HACK: Handle special SDL event case OSystem_SDL::kSdlEventResize: - _videoMode.overlayWidth = event.mouse.x; - _videoMode.overlayHeight = event.mouse.y; _videoMode.hardwareWidth = event.mouse.x; _videoMode.hardwareHeight = event.mouse.y; initGL(); |