wined3d: Added D3D9 render states

Vitaly Budovski vbudovsk at cs.rmit.edu.au
Sat Feb 25 03:52:44 CST 2006


wined3d: Added D3D9 render states

---

 dlls/wined3d/device.c |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

-------------- next part --------------
65fafe52d0f7c90f10046a7839cc50766677fd62
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 7379a73..e2f9ab8 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3680,6 +3680,40 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
     case WINED3DRS_DEBUGMONITORTOKEN         :
     case WINED3DRS_POSITIONORDER             :
     case WINED3DRS_NORMALORDER               :
+    /* Direct3D9 render states */
+    case WINED3DRS_SCISSORTESTENABLE :
+    case WINED3DRS_SLOPESCALEDEPTHBIAS :
+    case WINED3DRS_ANTIALIASEDLINEENABLE :
+    case WINED3DRS_MINTESSELLATIONLEVEL :
+    case WINED3DRS_MAXTESSELLATIONLEVEL :
+    case WINED3DRS_ADAPTIVETESS_X :
+    case WINED3DRS_ADAPTIVETESS_Y :
+    case WINED3DRS_ADAPTIVETESS_Z :
+    case WINED3DRS_ADAPTIVETESS_W :
+    case WINED3DRS_ENABLEADAPTIVETESSELLATION :
+    case WINED3DRS_TWOSIDEDSTENCILMODE :
+    case WINED3DRS_CCW_STENCILFAIL :
+    case WINED3DRS_CCW_STENCILZFAIL :
+    case WINED3DRS_CCW_STENCILPASS :
+    case WINED3DRS_CCW_STENCILFUNC :
+    case WINED3DRS_COLORWRITEENABLE1 :
+    case WINED3DRS_COLORWRITEENABLE2 :
+    case WINED3DRS_COLORWRITEENABLE3 :
+    case WINED3DRS_BLENDFACTOR :
+    case WINED3DRS_SRGBWRITEENABLE :
+    case WINED3DRS_DEPTHBIAS :
+    case WINED3DRS_WRAP8 :
+    case WINED3DRS_WRAP9 :
+    case WINED3DRS_WRAP10 :
+    case WINED3DRS_WRAP11 :
+    case WINED3DRS_WRAP12 :
+    case WINED3DRS_WRAP13 :
+    case WINED3DRS_WRAP14 :
+    case WINED3DRS_WRAP15 :
+    case WINED3DRS_SEPARATEALPHABLENDENABLE :
+    case WINED3DRS_SRCBLENDALPHA :
+    case WINED3DRS_DESTBLENDALPHA :
+    case WINED3DRS_BLENDOPALPHA :
         /*Put back later: FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value); */
         FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value);
         break;
-- 
1.0.4


More information about the wine-patches mailing list