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.
This commit is contained in:
Jonas Kulla 2014-08-16 01:28:39 +02:00
parent 7f69786c47
commit 1195dc15bd
1 changed files with 3 additions and 1 deletions

View File

@ -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<IntRect> cornerSrc =