DS GX: Fix A*I* textures being transparent when I is 0

This commit is contained in:
Vicki Pfau 2017-03-13 15:25:06 -07:00
parent 77f74a831f
commit be1c144513
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSo
texel = _mixTexels(a, texel, b, texel2);
}
} else {
if (DSGXTexParamsIs0Transparent(poly->poly->texParams) && !texel) {
if (poly->texFormat < 5 && poly->texFormat > 1 && DSGXTexParamsIs0Transparent(poly->poly->texParams) && !texel) {
return 0;
}
texel = poly->palBase[texel];