Commit 5c8c0059 authored by Vitaly Budovski's avatar Vitaly Budovski Committed by Alexandre Julliard

wined3d: Implemented WINED3DRS_SCISSORTESTENABLE.

parent 4b10288b
......@@ -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 :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment