[Scummvm-cvs-logs] scummvm master -> 521dfaa980c56524990dbf743fe6a94aeaeec9b9
hkzlab
hkzlabnet at gmail.com
Tue Aug 9 11:22:18 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
521dfaa980 DINGUX: fix compilation
Commit: 521dfaa980c56524990dbf743fe6a94aeaeec9b9
https://github.com/scummvm/scummvm/commit/521dfaa980c56524990dbf743fe6a94aeaeec9b9
Author: Fabio Battaglia (hkzlabnet at gmail.com)
Date: 2011-08-09T02:19:18-07:00
Commit Message:
DINGUX: fix compilation
Changed paths:
backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
index 2fd22c4..5493929 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)
More information about the Scummvm-git-logs
mailing list