DS GX: Fix textureless polygons

This commit is contained in:
Vicki Pfau 2017-03-18 22:39:36 -07:00
parent 03d11c3d0c
commit edc88dc91e
1 changed files with 1 additions and 1 deletions

View File

@ -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