wined3d: Implemented WINED3DRS_SCISSORTESTENABLE.

This commit is contained in:
Vitaly Budovski 2006-02-25 20:57:31 +11:00 committed by Alexandre Julliard
parent 4b10288b5b
commit 5c8c0059ab

View File

@ -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 :