mirror of https://github.com/PCSX2/pcsx2.git
gsdx sw: fix GCC warning enumeral and non-enumeral type in conditional expression
This commit is contained in:
parent
5ad4cbace7
commit
41afd85a5d
|
@ -1443,7 +1443,7 @@ bool GSRendererSW::GetScanlineGlobalData(SharedData* data)
|
||||||
if(zwrite || ztest)
|
if(zwrite || ztest)
|
||||||
{
|
{
|
||||||
gd.sel.zpsm = GSLocalMemory::m_psm[context->ZBUF.PSM].fmt;
|
gd.sel.zpsm = GSLocalMemory::m_psm[context->ZBUF.PSM].fmt;
|
||||||
gd.sel.ztst = ztest ? context->TEST.ZTST : ZTST_ALWAYS;
|
gd.sel.ztst = ztest ? context->TEST.ZTST : (int)ZTST_ALWAYS;
|
||||||
gd.sel.zoverflow = (uint32)GSVector4i(m_vt.m_max.p).z == 0x80000000U;
|
gd.sel.zoverflow = (uint32)GSVector4i(m_vt.m_max.p).z == 0x80000000U;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue