mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
MYST3: Handle window resizes happening while the engine is paused
This commit is contained in:
parent
ef0155a50c
commit
32fc54531b
@ -1942,9 +1942,11 @@ void Myst3Engine::pauseEngineIntern(bool pause) {
|
||||
_system->lockMouse(!pause);
|
||||
}
|
||||
|
||||
// The user may have moved the mouse while the engine was paused
|
||||
// The user may have moved the mouse or resized the screen while the engine was paused
|
||||
if (!pause) {
|
||||
_gfx->computeScreenViewport();
|
||||
_cursor->updatePosition(_eventMan->getMousePos());
|
||||
_inventory->reflow();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user