mirror of https://github.com/mgba-emu/mgba.git
DS GX: Fix A*I* textures being transparent when I is 0
This commit is contained in:
parent
77f74a831f
commit
be1c144513
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue