diff options
author | Johannes Schickel | 2011-08-09 14:56:38 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-08-09 14:56:38 +0200 |
commit | a72ab2f448b880a30dbce319808fca64c4121e40 (patch) | |
tree | a9afc87bce148301d35421cac7d72655254c9e0f /backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp | |
parent | 3fe81198ffa2f04b258e889001fc1c2a180b0350 (diff) | |
download | scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.tar.gz scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.tar.bz2 scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.zip |
BACKENDS: Fix compilation.
Diffstat (limited to 'backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp')
-rw-r--r-- | backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp index e59d3f975b..de9838a0d7 100644 --- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp +++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp @@ -134,7 +134,7 @@ void LinuxmotoSdlGraphicsManager::initSize(uint w, uint h) { if (w > 320 || h > 240) { setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - _sdlEventSource->toggleMouseGrab(); + _eventSource->toggleMouseGrab(); } _transactionDetails.sizeChanged = true; @@ -484,7 +484,6 @@ void LinuxmotoSdlGraphicsManager::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) |