diff options
author | Fabio Battaglia | 2011-08-09 11:19:18 +0200 |
---|---|---|
committer | Fabio Battaglia | 2011-08-09 11:19:18 +0200 |
commit | 521dfaa980c56524990dbf743fe6a94aeaeec9b9 (patch) | |
tree | 2a8e018ea0379302d9fc2c6c7f6d394cf015086b /backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | |
parent | 83eb8e7ab64949f1c039e9b73abf2ae11698148a (diff) | |
download | scummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.tar.gz scummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.tar.bz2 scummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.zip |
DINGUX: fix compilation
Diffstat (limited to 'backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp')
-rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp index 2fd22c4e80..5493929bb9 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp @@ -122,7 +122,7 @@ void DINGUXSdlGraphicsManager::initSize(uint w, uint h) { if (w > 320 || h > 240) { setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - _sdlEventSource->toggleMouseGrab(); + _eventSource->toggleMouseGrab(); } _transactionDetails.sizeChanged = true; @@ -516,7 +516,6 @@ void DINGUXSdlGraphicsManager::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) |