mirror of https://github.com/mgba-emu/mgba.git
DS GX: Fix textureless polygons
This commit is contained in:
parent
03d11c3d0c
commit
edc88dc91e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue