mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +00:00
SHERLOCK: RT: Fix tearing in ending credits
This commit is contained in:
parent
f7025c4cab
commit
b12cb7308a
@ -185,8 +185,6 @@ void WidgetCredits::blitCredits() {
|
||||
|
||||
screen.slamRect(r);
|
||||
}
|
||||
|
||||
_creditLines[idx]._position.y -= _creditSpeed;
|
||||
}
|
||||
}
|
||||
|
||||
@ -200,7 +198,10 @@ void WidgetCredits::eraseCredits() {
|
||||
r.moveTo(_creditLines[idx]._position.x, _creditLines[idx]._position.y - 1 + _creditSpeed);
|
||||
|
||||
screen.restoreBackground(r);
|
||||
screen.slamRect(r);
|
||||
}
|
||||
|
||||
_creditLines[idx]._position.y -= _creditSpeed;
|
||||
}
|
||||
|
||||
if (_creditLines[_creditLines.size() - 1]._position.y < -_creditSpeed) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user