mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Don't double alpha when alphablend is disabled.
Probably doesn't affect much.
This commit is contained in:
1 parent
5223ee3d1b
commit
5ecacd6bc8
1 file changed
+4
@@ -73,6 +73,10 @@ static bool IsColorTestTriviallyTrue() {
|
||||
}
|
||||
|
||||
static bool CanDoubleSrcBlendMode() {
|
||||
if (!gstate.isAlphaBlendEnabled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int funcA = gstate.getBlendFuncA();
|
||||
int funcB = gstate.getBlendFuncB();
|
||||
if (funcA != GE_SRCBLEND_DOUBLESRCALPHA) {
|
||||
|
||||
Reference in new issue
Block a user