[PATCH] WineD3D: Move the frontfacing state to the misc state =

Stefan Doesinger stefan at codeweavers.com
Wed Jul 2 10:42:38 CDT 2008


table=0A=
=0A=
---=0A=
 dlls/wined3d/state.c |    3 ++-=0A=
 1 files changed, 2 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c=0A=
index 2b1adba..41ac47d 100644=0A=
--- a/dlls/wined3d/state.c=0A=
+++ b/dlls/wined3d/state.c=0A=
@@ -4888,7 +4888,7 @@ const struct StateEntry FFPStateTable[] =3D=0A=
     { /* STATE_CLIPPLANE(31)                        */      =
STATE_CLIPPLANE(31),                                clipplane           =
},=0A=
 =0A=
     { /* STATE_MATERIAL                             */      =
STATE_RENDER(WINED3DRS_SPECULARENABLE),             NULL                =
},=0A=
-    { /* STATE_FRONTFACE                            */      =
STATE_FRONTFACE,                                    frontface           =
},=0A=
+    { /* STATE_FRONTFACE                            */      =
STATE_FRONTFACE,                                    NULL                =
},=0A=
 };=0A=
 =0A=
 const struct StateEntryTemplate misc_state_template[] =3D {=0A=
@@ -4904,6 +4904,7 @@ const struct StateEntryTemplate =
misc_state_template[] =3D {=0A=
     { STATE_RENDER(WINED3DRS_BLENDOPALPHA),               { =
STATE_RENDER(WINED3DRS_ALPHABLENDENABLE),           state_blend         =
}},=0A=
     { STATE_STREAMSRC,                                    { =
STATE_VDECL,                                        streamsrc           =
}},=0A=
     { STATE_VDECL,                                        { =
STATE_VDECL,                                        streamsrc           =
}},=0A=
+    { STATE_FRONTFACE,                                    { =
STATE_FRONTFACE,                                    frontface           =
}},=0A=
     {0 /* Terminate */,                                   { 0,          =
                                        0                   }},=0A=
 };=0A=
 =0A=
-- =0A=
1.5.4.5=0A=
=0A=

------=_NextPart_000_0049_01C8E026.876177B0--




More information about the wine-patches mailing list