Karsten Elfenbein : wined3d: Combined unhandled renderstate cases into one.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 12 14:02:37 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 59189ba75b739ad0e119e2d31186d054ecd780a9
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=59189ba75b739ad0e119e2d31186d054ecd780a9

Author: Karsten Elfenbein <kelfe at gmx.de>
Date:   Wed Apr 12 20:45:45 2006 +0200

wined3d: Combined unhandled renderstate cases into one.

---

 dlls/wined3d/device.c |   53 ++++++++++++++++++++-----------------------------
 1 files changed, 22 insertions(+), 31 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index f51201f..3626b88 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3745,24 +3745,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
         }
         break;
     }
-    case WINED3DRS_MULTISAMPLEMASK           :
-    case WINED3DRS_PATCHEDGESTYLE            :
-    case WINED3DRS_PATCHSEGMENTS             :
-    case WINED3DRS_DEBUGMONITORTOKEN         :
-    case WINED3DRS_POSITIONORDER             :
-    case WINED3DRS_NORMALORDER               :
-    /* Direct3D9 render states */
-    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 :
-    {
-        FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
-        break;
-    }
     case WINED3DRS_TWOSIDEDSTENCILMODE :
     {
         if(Value) {
@@ -3876,15 +3858,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
         }
         break;
     }
-    case WINED3DRS_COLORWRITEENABLE1 :
-    case WINED3DRS_COLORWRITEENABLE2 :
-    case WINED3DRS_COLORWRITEENABLE3 :
-    case WINED3DRS_BLENDFACTOR :
-    case WINED3DRS_SRGBWRITEENABLE :
-    {
-        FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
-        break;
-    }
     case WINED3DRS_DEPTHBIAS :
     {
         if(Value) {
@@ -3899,10 +3872,28 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
         }
         break;
     }
-    case WINED3DRS_SEPARATEALPHABLENDENABLE :
-    case WINED3DRS_SRCBLENDALPHA :
-    case WINED3DRS_DESTBLENDALPHA :
-    case WINED3DRS_BLENDOPALPHA :
+    case WINED3DRS_SEPARATEALPHABLENDENABLE   :
+    case WINED3DRS_SRCBLENDALPHA              :
+    case WINED3DRS_DESTBLENDALPHA             :
+    case WINED3DRS_BLENDOPALPHA               :
+    case WINED3DRS_MULTISAMPLEMASK            :
+    case WINED3DRS_PATCHEDGESTYLE             :
+    case WINED3DRS_PATCHSEGMENTS              :
+    case WINED3DRS_DEBUGMONITORTOKEN          :
+    case WINED3DRS_POSITIONORDER              :
+    case WINED3DRS_NORMALORDER                :
+    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_COLORWRITEENABLE1          :
+    case WINED3DRS_COLORWRITEENABLE2          :
+    case WINED3DRS_COLORWRITEENABLE3          :
+    case WINED3DRS_BLENDFACTOR                :
+    case WINED3DRS_SRGBWRITEENABLE            :
         FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
         break;
     default:




More information about the wine-cvs mailing list