Skip to content

Commit

Permalink
MOHAWK: Don't update the screen immediatly after drawing
Browse files Browse the repository at this point in the history
Updating the screen needs to happen exactly once at the end of each game
loop.
  • Loading branch information
bgK authored and sev- committed Jul 3, 2017
1 parent 42f91b9 commit 121c0ee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engines/mohawk/riven_graphics.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 121c0ee

Please sign in to comment.