From 78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 15 Apr 2016 10:48:52 +0200 Subject: WAGE: Fix window composing offset --- engines/wage/macwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp index c5b65b3b5b..1551dacb78 100644 --- a/engines/wage/macwindow.cpp +++ b/engines/wage/macwindow.cpp @@ -102,10 +102,10 @@ void MacWindow::draw(Graphics::ManagedSurface *g, bool forceRedraw) { drawBorder(); // Compose - _composeSurface.blitFrom(_surface); + _composeSurface.blitFrom(_surface, Common::Rect(0, 0, _surface.w - 2, _surface.h - 2), Common::Point(2, 2)); _composeSurface.transBlitFrom(_borderSurface, kColorGreen); - g->transBlitFrom(_composeSurface, _composeSurface.getBounds(), Common::Point(_dims.left, _dims.top), kColorGreen2); + g->transBlitFrom(_composeSurface, _composeSurface.getBounds(), Common::Point(_dims.left - 2, _dims.top - 2), kColorGreen2); } const Graphics::Font *MacWindow::getTitleFont() { -- cgit v1.2.3