mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 11:30:09 +03:00
feat(gx): handle depth device states in d3d backend
This commit is contained in:
parent
2c059ce55e
commit
5d80397fa6
@ -480,6 +480,15 @@ void CGxDeviceD3d::DsSet(EDeviceState state, uint32_t val) {
|
|||||||
this->m_d3dDevice->SetRenderState(D3DRS_ALPHAREF, val);
|
this->m_d3dDevice->SetRenderState(D3DRS_ALPHAREF, val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case Ds_ZWriteEnable: {
|
||||||
|
this->m_d3dDevice->SetRenderState(D3DRS_ZWRITEENABLE, val);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case Ds_ZFunc: {
|
||||||
|
this->m_d3dDevice->SetRenderState(D3DRS_ZFUNC, val);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this->m_deviceStates[state] = val;
|
this->m_deviceStates[state] = val;
|
||||||
|
Loading…
Reference in New Issue
Block a user