mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 22:10:01 +00:00
Turning off alpha test on GREATER than 0 and LESS than 255 wasn't safe. Only GEQUAL and LEQUAL, duh!
This commit is contained in:
parent
2b9a132440
commit
14b35c8d2d
@ -46,10 +46,8 @@ static bool IsAlphaTestTriviallyTrue() {
|
||||
case GE_COMP_ALWAYS:
|
||||
return true;
|
||||
case GE_COMP_GEQUAL:
|
||||
case GE_COMP_GREATER:
|
||||
if (alphaTestRef == 0)
|
||||
return true;
|
||||
case GE_COMP_LESS:
|
||||
case GE_COMP_LEQUAL:
|
||||
if (alphaTestRef == 255)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user