aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/dinguxsdl
diff options
context:
space:
mode:
authorFabio Battaglia2011-08-09 11:19:18 +0200
committerFabio Battaglia2011-08-09 11:19:18 +0200
commit521dfaa980c56524990dbf743fe6a94aeaeec9b9 (patch)
tree2a8e018ea0379302d9fc2c6c7f6d394cf015086b /backends/graphics/dinguxsdl
parent83eb8e7ab64949f1c039e9b73abf2ae11698148a (diff)
downloadscummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.tar.gz
scummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.tar.bz2
scummvm-rg350-521dfaa980c56524990dbf743fe6a94aeaeec9b9.zip
DINGUX: fix compilation
Diffstat (limited to 'backends/graphics/dinguxsdl')
-rw-r--r--backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp3
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)