DINGUX: fix compilation

This commit is contained in:
Fabio Battaglia 2011-08-09 11:19:18 +02:00
parent 83eb8e7ab6
commit 521dfaa980

View File

@ -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)