Avoid using fbo copies for the common 2a + 1-2a.

We won't even get it right that often since the copy doesn't deal with
overlap properly.
This commit is contained in:
Unknown W. Brackets committed 2014-08-18 23:20:47 -07:00
1 parent 5d1b1ab547
commit 0904085eb5
1 file changed
+2 -5
+2 -5
View File
@@ -274,11 +274,8 @@ ReplaceBlendType ReplaceBlendWithShader() {
case GE_DSTBLEND_DOUBLESRCALPHA:
case GE_DSTBLEND_DOUBLEINVSRCALPHA:
// We can't technically do this correctly (due to clamping) without reading the dst color.
if (g_Config.bDisableSlowFramebufEffects) {
return REPLACE_BLEND_PRE_SRC_2X_ALPHA;
} else {
return REPLACE_BLEND_COPY_FBO;
}
// Using a copy isn't accurate either, though, when there's overlap.
return REPLACE_BLEND_PRE_SRC_2X_ALPHA;
default:
// TODO: Could use vertexFullAlpha, but it's not calculated yet.