From 7202cac7d0f5eb071358c8e2850b55aaaeb837b5 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Wed, 1 Jun 2016 20:59:39 +0200 Subject: [PATCH] gsdx ogl: remove the dual source blending workaround --- plugins/GSdx/GSDeviceOGL.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/plugins/GSdx/GSDeviceOGL.cpp b/plugins/GSdx/GSDeviceOGL.cpp index 8bd38abe34..0842b689de 100644 --- a/plugins/GSdx/GSDeviceOGL.cpp +++ b/plugins/GSdx/GSDeviceOGL.cpp @@ -1479,23 +1479,7 @@ void GSDeviceOGL::OMSetBlendState(uint8 blend_index, uint8 blend_factor, bool is if (GLState::f_sRGB != b.src || GLState::f_dRGB != b.dst) { GLState::f_sRGB = b.src; GLState::f_dRGB = b.dst; - // AMD DRIVER SUCK - uint16 src = b.src; - uint16 dst = b.dst; - if (GLLoader::legacy_fglrx_buggy_driver) { - if (src == GL_SRC1_ALPHA) - src = GL_SRC_ALPHA; - else if (src == GL_ONE_MINUS_SRC1_ALPHA) - src = GL_ONE_MINUS_SRC_ALPHA; - - if (dst == GL_SRC1_ALPHA) - dst = GL_SRC_ALPHA; - else if (dst == GL_ONE_MINUS_SRC1_ALPHA) - dst = GL_ONE_MINUS_SRC_ALPHA; - } - // AMD DRIVER SUCK - - glBlendFuncSeparateiARB(0, src, dst, GL_ONE, GL_ZERO); + glBlendFuncSeparateiARB(0, b.src, b.dst, GL_ONE, GL_ZERO); } } else {