diff options
author | Matthew Hoops | 2011-08-09 16:26:25 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-08-09 16:26:25 -0400 |
commit | acb0a36b6e9f2d2c07a8f96801a9041b15bbf9d7 (patch) | |
tree | cd2902a84c83989c8a6f80d989626a0bc24e6c12 /backends/graphics/gph/gph-graphics.cpp | |
parent | b087acd793e8780fe13d72c202330098652f10a3 (diff) | |
parent | 00d25a77a9d8297fdc356c7a10f9dc2d94903a5f (diff) | |
download | scummvm-rg350-acb0a36b6e9f2d2c07a8f96801a9041b15bbf9d7.tar.gz scummvm-rg350-acb0a36b6e9f2d2c07a8f96801a9041b15bbf9d7.tar.bz2 scummvm-rg350-acb0a36b6e9f2d2c07a8f96801a9041b15bbf9d7.zip |
Merge remote branch 'upstream/master' into soccer
Diffstat (limited to 'backends/graphics/gph/gph-graphics.cpp')
-rw-r--r-- | backends/graphics/gph/gph-graphics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index 2e8bfa668e..96b0619a6a 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -141,7 +141,7 @@ void GPHGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFormat *f if (w > 320 || h > 240){ setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - _sdlEventSource->toggleMouseGrab(); + _eventSource->toggleMouseGrab(); } _videoMode.overlayWidth = 320; @@ -585,7 +585,6 @@ void GPHGraphicsManager::transformMouseCoordinates(Common::Point &point) { point.x *= 2; point.y *= 2; } - g_system->getEventManager()->pushEvent(newEvent); point.x /= _videoMode.scaleFactor; point.y /= _videoMode.scaleFactor; if (_videoMode.aspectRatioCorrection) |