From 1195dc15bd5353d4e35c474893c025eb65877113 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sat, 16 Aug 2014 01:28:39 +0200 Subject: [PATCH] WindowVX: Add small hack to visually improve background Make the stretched background source rect smaller by one pixel. Greatly improves look of Windows in Majo no Ie. --- src/windowvx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/windowvx.cpp b/src/windowvx.cpp index 43f04a7..d0c89dd 100644 --- a/src/windowvx.cpp +++ b/src/windowvx.cpp @@ -47,7 +47,9 @@ struct Corners T tl, tr, bl, br; }; -static const IntRect bgStretchSrc( 0, 0, 64, 64 ); +/* Offsetting this by one gives a great visual improvement + * in Majo no Ie */ +static const IntRect bgStretchSrc( 1, 1, 62, 62 ); static const IntRect bgTileSrc ( 0, 64, 64, 64 ); static const Corners cornerSrc =