Don't double alpha when alphablend is disabled.

Probably doesn't affect much.
This commit is contained in:
Unknown W. Brackets committed 2013-05-12 09:31:23 -07:00
1 parent 5223ee3d1b
commit 5ecacd6bc8
1 file changed
+4
+4
View File
@@ -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) {