Stefan Dösinger : wined3d: Move the frontfacing state to the misc state table.

Alexandre Julliard julliard at winehq.org
Tue Jul 8 06:10:50 CDT 2008


Module: wine
Branch: master
Commit: eb9d3d2a8f46df7fd685a0e3120b41c105d88f35
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eb9d3d2a8f46df7fd685a0e3120b41c105d88f35

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Jul  2 10:42:38 2008 -0500

wined3d: Move the frontfacing state to the misc state table.

---

 dlls/wined3d/state.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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




More information about the wine-cvs mailing list