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:
parent
7f69786c47
commit
1195dc15bd
|
@ -47,7 +47,9 @@ struct Corners
|
||||||
T tl, tr, bl, br;
|
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 IntRect bgTileSrc ( 0, 64, 64, 64 );
|
||||||
|
|
||||||
static const Corners<IntRect> cornerSrc =
|
static const Corners<IntRect> cornerSrc =
|
||||||
|
|
Loading…
Reference in New Issue