wined3d: Implemented D3DRS_SCISSORTESTENABLE
Vitaly Budovski
vbudovsk at cs.rmit.edu.au
Sat Feb 25 03:57:31 CST 2006
wined3d: Implemented D3DRS_SCISSORTESTENABLE
---
dlls/wined3d/device.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
-------------- next part --------------
ae0cf59f1e0239c0ad80016a7e2fa8a9c94e04e5
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 1a0852e..0e5aa5e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3682,6 +3682,16 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
case WINED3DRS_NORMALORDER :
/* Direct3D9 render states */
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 :
case WINED3DRS_ANTIALIASEDLINEENABLE :
{
--
1.0.4
More information about the wine-patches
mailing list