Typo fix checking the alpha func for src factors

This commit is contained in:
Henrik Rydgard
2013-12-16 23:13:33 +01:00
parent 0cd1c3ad92
commit 40a0705b50
+1 -1
View File
@@ -133,7 +133,7 @@ bool CanReplaceAlphaWithStencil() {
}
if (gstate.isAlphaBlendEnabled()) {
return nonAlphaSrcFactors[gstate.getBlendFuncA()] && nonAlphaDestFactors[gstate.getBlendFuncA()];
return nonAlphaSrcFactors[gstate.getBlendFuncA()] && nonAlphaDestFactors[gstate.getBlendFuncB()];
}
return true;
}