[Scummvm-git-logs] scummvm master -> e04d8b0110dade1b4100c51e4ca19f3bd84df684

mgerhardy martin.gerhardy at gmail.com
Wed Jan 6 06:44:28 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e04d8b0110 TWINE: fixed rendering artifacts


Commit: e04d8b0110dade1b4100c51e4ca19f3bd84df684
    https://github.com/scummvm/scummvm/commit/e04d8b0110dade1b4100c51e4ca19f3bd84df684
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-01-06T07:44:03+01:00

Commit Message:
TWINE: fixed rendering artifacts

https://bugs.scummvm.org/ticket/12038
https://bugs.scummvm.org/ticket/12035

Changed paths:
    engines/twine/menu/interface.cpp


diff --git a/engines/twine/menu/interface.cpp b/engines/twine/menu/interface.cpp
index 5a84bbaedb..9480da2692 100644
--- a/engines/twine/menu/interface.cpp
+++ b/engines/twine/menu/interface.cpp
@@ -140,7 +140,10 @@ void Interface::drawLine(int32 startWidth, int32 startHeight, int32 endWidth, in
 }
 
 void Interface::blitBox(const Common::Rect &rect, const Graphics::ManagedSurface &source, Graphics::ManagedSurface &dest) {
-	dest.blitFrom(source, rect, Common::Point(rect.left, rect.top));
+	Common::Rect r(rect);
+	r.right += 1;
+	r.bottom += 1;
+	dest.blitFrom(source, r, Common::Point(rect.left, rect.top));
 }
 
 void Interface::drawTransparentBox(const Common::Rect &rect, int32 colorAdj) {




More information about the Scummvm-git-logs mailing list