gsdx-hw: Always enable blending if env pabe is 1.

This commit is contained in:
lightningterror 2021-02-04 15:16:00 +01:00
parent 37089065ba
commit 7c072094ae
2 changed files with 2 additions and 6 deletions

View File

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

View File

@ -410,11 +410,7 @@ void GSRendererOGL::EmulateBlending(bool& DATE_GL42, bool& DATE_GL45)
bool sw_blending = false;
// No blending so early exit
if (!(PRIM->ABE || PRIM->AA1 && m_vt.m_primclass == GS_LINE_CLASS)) {
#ifdef ENABLE_OGL_DEBUG
if (m_env.PABE.PABE)
GL_INS("ERROR: ENV PABE without ABE!");
#endif
if (!(PRIM->ABE || m_env.PABE.PABE || (PRIM->AA1 && m_vt.m_primclass == GS_LINE_CLASS))) {
dev->OMSetBlendState();
return;
}