DS GX: Fix textureless polygons
Vicki Pfau vi@endrift.com
Sat, 18 Mar 2017 22:39:36 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/gx/software.c
→
src/ds/gx/software.c
@@ -90,7 +90,7 @@ return c;
} static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSoftwareEndpoint* ep, struct DSGXSoftwarePolygon* poly) { - if (!poly->texBase) { + if (!poly->texBase && poly->texFormat) { return 0; } // TODO: Optimize