From edc88dc91e59d3becfc92334a1512d1259cbc5e9 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 18 Mar 2017 22:39:36 -0700 Subject: [PATCH] DS GX: Fix textureless polygons --- src/ds/gx/software.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ds/gx/software.c b/src/ds/gx/software.c index e9ad9a73e..722039dcf 100644 --- a/src/ds/gx/software.c +++ b/src/ds/gx/software.c @@ -90,7 +90,7 @@ static unsigned _mixTexels(int weightA, unsigned colorA, int weightB, unsigned 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