GS-hw: Disable alpha blending when only AA1 flag is enabled.

There is no hw implementation of AA1.

Alpha blending shouldn't be enabled by AA1 flag, only ABE and PABE flags.
This commit is contained in:
lightningterror 2021-11-23 12:27:26 +01:00
parent 7ea335e59b
commit c10603d161
2 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ void GSRendererDX11::EmulateBlending()
bool sw_blending = false;
// No blending so early exit
if (!(PRIM->ABE || m_env.PABE.PABE || (PRIM->AA1 && m_vt.m_primclass == GS_LINE_CLASS)))
if (!(PRIM->ABE || m_env.PABE.PABE))
return;
m_om_bsel.abe = 1;

View File

@ -466,7 +466,7 @@ void GSRendererOGL::EmulateBlending(bool& DATE_GL42, bool& DATE_GL45)
bool sw_blending = false;
// No blending so early exit
if (!(PRIM->ABE || m_env.PABE.PABE || (PRIM->AA1 && m_vt.m_primclass == GS_LINE_CLASS)))
if (!(PRIM->ABE || m_env.PABE.PABE))
{
dev->OMSetBlendState();
return;