From 03bc304ecf4e513767249b3e7f3a264daaee33ca Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 16 Oct 2015 22:06:34 +0200 Subject: [PATCH] gsdx-ogl: fix colclip regression when accurate blending is enabled Fix #865 --- plugins/GSdx/GSRendererOGL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/GSdx/GSRendererOGL.cpp b/plugins/GSdx/GSRendererOGL.cpp index 9bdc7972ab..9d4ea0bc10 100644 --- a/plugins/GSdx/GSRendererOGL.cpp +++ b/plugins/GSdx/GSRendererOGL.cpp @@ -373,6 +373,8 @@ bool GSRendererOGL::EmulateBlending(GSDeviceOGL::PSSelector& ps_sel, bool DATE_G // The fastest algo that requires a single pass GL_INS("COLCLIP Free mode ENABLED"); ps_sel.colclip = 1; + ASSERT(sw_blending); + accumulation_blend = false; // disable the HDR algo } else if (accumulation_blend) { // A fast algo that requires 2 passes GL_INS("COLCLIP Fast HDR mode ENABLED");