aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/gph/gph-graphics.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-09 16:26:25 -0400
committerMatthew Hoops2011-08-09 16:26:25 -0400
commitacb0a36b6e9f2d2c07a8f96801a9041b15bbf9d7 (patch)
treecd2902a84c83989c8a6f80d989626a0bc24e6c12 /backends/graphics/gph/gph-graphics.cpp
parentb087acd793e8780fe13d72c202330098652f10a3 (diff)
parent00d25a77a9d8297fdc356c7a10f9dc2d94903a5f (diff)
downloadscummvm-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.cpp3
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)