gs-d3d11: Set blend index to 0 when hw blending is disabled.

This commit is contained in:
lightningterror 2021-07-30 13:40:22 +02:00
parent 043b5d351f
commit 4308aa29dd
1 changed files with 2 additions and 0 deletions

View File

@ -508,6 +508,7 @@ void GSRendererDX11::EmulateBlending()
// cannot output anything over 0x80 (== 1.0) blending with 0x80 or turning it off gives the same result
m_om_bsel.abe = 0;
m_om_bsel.blend_index = 0;
}
if (sw_blending)
{
@ -545,6 +546,7 @@ void GSRendererDX11::EmulateBlending()
{
// Disable HW blending
m_om_bsel.abe = 0;
m_om_bsel.blend_index = 0;
// Only BLEND_NO_REC should hit this code path for now
ASSERT(blend_non_recursive);