aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/transitions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/transitions.cpp')
-rw-r--r--engines/sci/graphics/transitions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/transitions.cpp b/engines/sci/graphics/transitions.cpp
index 8acbebcb30..1976326aa9 100644
--- a/engines/sci/graphics/transitions.cpp
+++ b/engines/sci/graphics/transitions.cpp
@@ -269,8 +269,8 @@ void GfxTransitions::copyRectToScreen(const Common::Rect rect, bool blackoutFlag
surface->fillRect(rect, 0);
} else {
Common::Rect upscaledRect = rect;
- upscaledRect.top *= 2; upscaledRect.bottom *= 2;
- upscaledRect.left *= 2; upscaledRect.right *= 2;
+ _screen->adjustToUpscaledCoordinates(upscaledRect.top, upscaledRect.left);
+ _screen->adjustToUpscaledCoordinates(upscaledRect.bottom, upscaledRect.right);
surface->fillRect(upscaledRect, 0);
}
g_system->unlockScreen();