mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 01:55:21 +03:00
feat(gx): handle scissor test render state in d3d backend
This commit is contained in:
parent
ddcbd5829d
commit
c0d256f0a0
@ -879,6 +879,13 @@ void CGxDeviceD3d::IRsSendToHw(EGxRenderState which) {
|
||||
break;
|
||||
}
|
||||
|
||||
case GxRs_ScissorTest: {
|
||||
auto scissorTestEnable = static_cast<uint32_t>(state->m_value) != 0;
|
||||
this->m_d3dDevice->SetRenderState(D3DRS_SCISSORTESTENABLE, scissorTestEnable);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case GxRs_Texture0:
|
||||
case GxRs_Texture1:
|
||||
case GxRs_Texture2:
|
||||
|
Loading…
Reference in New Issue
Block a user