From dc4b382b2022cf2c910570444c0fac7a0846c17f Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Fri, 30 Jul 2021 13:45:49 +0200 Subject: [PATCH] gs-d3d11: Move BlendEnable toggle. --- pcsx2/GS/Renderers/DX11/GSTextureFX11.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2/GS/Renderers/DX11/GSTextureFX11.cpp b/pcsx2/GS/Renderers/DX11/GSTextureFX11.cpp index 746c959b91..4eb82e3c66 100644 --- a/pcsx2/GS/Renderers/DX11/GSTextureFX11.cpp +++ b/pcsx2/GS/Renderers/DX11/GSTextureFX11.cpp @@ -346,11 +346,10 @@ void GSDevice11::SetupOM(OMDepthStencilSelector dssel, OMBlendSelector bsel, uin memset(&bd, 0, sizeof(bd)); - bd.RenderTarget[0].BlendEnable = bsel.abe; - if (bsel.abe) { - HWBlend blend = GetBlend(bsel.blend_index); + const HWBlend blend = GetBlend(bsel.blend_index); + bd.RenderTarget[0].BlendEnable = TRUE; bd.RenderTarget[0].BlendOp = (D3D11_BLEND_OP)blend.op; bd.RenderTarget[0].SrcBlend = (D3D11_BLEND)blend.src; bd.RenderTarget[0].DestBlend = (D3D11_BLEND)blend.dst;