mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
SHERLOCK: RT: Fix erasing backgrounds when running animations
This commit is contained in:
parent
222de5a2f5
commit
e00a9f338c
@ -439,7 +439,8 @@ void Screen::flushScaleImage(ImageFrame *frame, const Common::Point &pt, int16 *
|
||||
}
|
||||
|
||||
void Screen::flushImage(ImageFrame *frame, const Common::Point &pt, Common::Rect &newBounds, int scaleVal) {
|
||||
Common::Point newPos, newSize;
|
||||
Common::Point newPos(newBounds.left, newBounds.top);
|
||||
Common::Point newSize(newBounds.width(), newBounds.height());
|
||||
|
||||
if (scaleVal == SCALE_THRESHOLD)
|
||||
flushImage(frame, pt, &newPos.x, &newPos.y, &newSize.x, &newSize.y);
|
||||
|
Loading…
Reference in New Issue
Block a user