mirror of
https://github.com/holub/mame
synced 2025-05-20 20:58:51 +03:00
Fixed alpha compare in the N64 RDP implementation. [Harmony]
This commit is contained in:
parent
0ea11333c6
commit
40aae2e312
@ -22,7 +22,7 @@ bool Blender::Blend1Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adse
|
|||||||
|
|
||||||
if (!AlphaCompare(m_rdp->GetPixelColor()->i.a))
|
if (!AlphaCompare(m_rdp->GetPixelColor()->i.a))
|
||||||
{
|
{
|
||||||
//return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_other_modes->antialias_en ? (!m_misc_state->m_curpixel_cvg) : (!m_misc_state->m_curpixel_cvbit))
|
if (m_other_modes->antialias_en ? (!m_misc_state->m_curpixel_cvg) : (!m_misc_state->m_curpixel_cvbit))
|
||||||
@ -65,7 +65,7 @@ bool Blender::Blend2Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adse
|
|||||||
|
|
||||||
if (!AlphaCompare(m_rdp->GetPixelColor()->i.a))
|
if (!AlphaCompare(m_rdp->GetPixelColor()->i.a))
|
||||||
{
|
{
|
||||||
//return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_other_modes->antialias_en ? (!m_misc_state->m_curpixel_cvg) : (!m_misc_state->m_curpixel_cvbit))
|
if (m_other_modes->antialias_en ? (!m_misc_state->m_curpixel_cvg) : (!m_misc_state->m_curpixel_cvbit))
|
||||||
|
Loading…
Reference in New Issue
Block a user