From 11eeeb6ab12fb4465a737ae3742791d89d7f585b Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 2 Jul 2016 17:19:41 +0200 Subject: [PATCH] gsdx ogl: be sure sw blending is enabled in sw colclip Hit the assertion on superman --- plugins/GSdx/GSRendererOGL.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/GSRendererOGL.cpp b/plugins/GSdx/GSRendererOGL.cpp index bb5c86c345..ad6a24673f 100644 --- a/plugins/GSdx/GSRendererOGL.cpp +++ b/plugins/GSdx/GSRendererOGL.cpp @@ -530,7 +530,8 @@ void GSRendererOGL::EmulateBlending(bool DATE_GL42) // The fastest algo that requires a single pass GL_INS("COLCLIP Free mode ENABLED"); m_ps_sel.colclip = 1; - ASSERT(sw_blending); + //ASSERT(sw_blending); + sw_blending = true; accumulation_blend = false; // disable the HDR algo } else if (accumulation_blend) { // A fast algo that requires 2 passes