DS GX: Fix alpha knocking out depth
Vicki Pfau vi@endrift.com
Sun, 05 Mar 2017 15:30:21 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/gx/software.c
→
src/ds/gx/software.c
@@ -532,7 +532,7 @@ struct DSGXSoftwareEndpoint ep;
_lerpEndpoint(span, &ep, x); color_t color = _lookupColor(softwareRenderer, &ep, span->poly); unsigned a = color >> 27; - if (a == 0x1F || !(scanline[x] & 0xF8000000)) { + if (a == 0x1F) { if (softwareRenderer->wSort) { if (ep.w < softwareRenderer->depthBuffer[x]) { softwareRenderer->depthBuffer[x] = ep.w;