mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
DINGUX: fix compilation
This commit is contained in:
parent
83eb8e7ab6
commit
521dfaa980
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user