mirror of https://github.com/PCSX2/pcsx2.git
gs-d3d11: Set blend index to 0 when hw blending is disabled.
This commit is contained in:
parent
043b5d351f
commit
4308aa29dd
|
@ -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
|
// 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.abe = 0;
|
||||||
|
m_om_bsel.blend_index = 0;
|
||||||
}
|
}
|
||||||
if (sw_blending)
|
if (sw_blending)
|
||||||
{
|
{
|
||||||
|
@ -545,6 +546,7 @@ void GSRendererDX11::EmulateBlending()
|
||||||
{
|
{
|
||||||
// Disable HW blending
|
// Disable HW blending
|
||||||
m_om_bsel.abe = 0;
|
m_om_bsel.abe = 0;
|
||||||
|
m_om_bsel.blend_index = 0;
|
||||||
|
|
||||||
// Only BLEND_NO_REC should hit this code path for now
|
// Only BLEND_NO_REC should hit this code path for now
|
||||||
ASSERT(blend_non_recursive);
|
ASSERT(blend_non_recursive);
|
||||||
|
|
Loading…
Reference in New Issue