diff options
author | Bastien Bouclet | 2017-06-26 15:13:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 121c0ee08c8e30b08386e4e30ea72410dcec5d94 (patch) | |
tree | 440133207901f06cee79f000d8c393f934df354e /engines | |
parent | 42f91b97695922319407ed6dac5dddc7ae37092f (diff) | |
download | scummvm-rg350-121c0ee08c8e30b08386e4e30ea72410dcec5d94.tar.gz scummvm-rg350-121c0ee08c8e30b08386e4e30ea72410dcec5d94.tar.bz2 scummvm-rg350-121c0ee08c8e30b08386e4e30ea72410dcec5d94.zip |
MOHAWK: Don't update the screen immediatly after drawing
Updating the screen needs to happen exactly once at the end of each game
loop.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/riven_graphics.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/mohawk/riven_graphics.cpp b/engines/mohawk/riven_graphics.cpp index a4fd6d0aa7..f832d79dec 100644 --- a/engines/mohawk/riven_graphics.cpp +++ b/engines/mohawk/riven_graphics.cpp @@ -333,9 +333,6 @@ void RivenGraphics::updateScreen(const Common::Rect &updateRect) { _effectScreen->copyRectToSurface(*_mainScreen, updateRect.left, updateRect.top, updateRect); _vm->_system->copyRectToScreen(_effectScreen->getBasePtr(updateRect.left, updateRect.top), _effectScreen->pitch, updateRect.left, updateRect.top, updateRect.width(), updateRect.height()); - // Finally, update the screen. - _vm->_system->updateScreen(); - _scheduledTransition = kRivenTransitionNone; } else { runScheduledTransition(); |