mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Fix #4913
This commit is contained in:
parent
64717d1b02
commit
b44542abb7
@ -413,6 +413,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
|
||||
switch (stencilToAlpha) {
|
||||
case REPLACE_ALPHA_DUALSOURCE:
|
||||
case REPLACE_ALPHA_NO:
|
||||
amask = (gstate.pmska & 0xFF) < 128;
|
||||
break;
|
||||
|
||||
@ -420,9 +421,6 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
amask = true;
|
||||
break;
|
||||
|
||||
case REPLACE_ALPHA_NO:
|
||||
amask = false;
|
||||
break;
|
||||
}
|
||||
glstate.colorMask.set(rmask, gmask, bmask, amask);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user