mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
wined3d: Implemented WINED3DRS_SCISSORTESTENABLE.
This commit is contained in:
parent
4b10288b5b
commit
5c8c0059ab
@ -3674,6 +3674,17 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D3DRENDE
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WINED3DRS_SCISSORTESTENABLE :
|
||||
{
|
||||
if(Value) {
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
checkGLcall("glEnable(GL_SCISSOR_TEST)");
|
||||
} else {
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
checkGLcall("glDisable(GL_SCISSOR_TEST)");
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WINED3DRS_SLOPESCALEDEPTHBIAS :
|
||||
{
|
||||
if(Value) {
|
||||
@ -3711,7 +3722,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D3DRENDE
|
||||
case WINED3DRS_POSITIONORDER :
|
||||
case WINED3DRS_NORMALORDER :
|
||||
/* Direct3D9 render states */
|
||||
case WINED3DRS_SCISSORTESTENABLE :
|
||||
case WINED3DRS_MINTESSELLATIONLEVEL :
|
||||
case WINED3DRS_MAXTESSELLATIONLEVEL :
|
||||
case WINED3DRS_ADAPTIVETESS_X :
|
||||
|
Loading…
Reference in New Issue
Block a user