DS GX: Fix pixel gap on mirroring textures
Vicki Pfau vi@endrift.com
Wed, 08 Mar 2017 23:49:33 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/ds/gx/software.c
→
src/ds/gx/software.c
@@ -105,7 +105,7 @@ s = poly->texW - 1;
} } else if (DSGXTexParamsIsSMirror(poly->poly->texParams)) { if (s & poly->texW) { - s = poly->texW - s; + s = poly->texW - s - 1; } s &= poly->texW - 1; } else {@@ -119,7 +119,7 @@ t = poly->texW - 1;
} } else if (DSGXTexParamsIsTMirror(poly->poly->texParams)) { if (t & poly->texH) { - t = poly->texH - t; + t = poly->texH - t - 1; } t &= poly->texH - 1; } else {