Henri Verbeet : wined3d: Use debug_d3dstate() in compile_state_table() as well.

Alexandre Julliard julliard at winehq.org
Tue May 28 15:16:59 CDT 2013


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue May 28 08:55:17 2013 +0200

wined3d: Use debug_d3dstate() in compile_state_table() as well.

---

 dlls/wined3d/state.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 46ab990..bad4166 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -6021,10 +6021,11 @@ HRESULT compile_state_table(struct StateEntry *StateTable, APPLYSTATEFUNC **dev_
                         cur[i].state, handlers + 1);
             }
 
-            if(StateTable[cur[i].state].representative &&
-            StateTable[cur[i].state].representative != cur[i].content.representative) {
-                FIXME("State %u has different representatives in different pipeline parts\n",
-                    cur[i].state);
+            if (StateTable[cur[i].state].representative
+                    && StateTable[cur[i].state].representative != cur[i].content.representative)
+            {
+                FIXME("State %s (%#x) has different representatives in different pipeline parts.\n",
+                        debug_d3dstate(cur[i].state), cur[i].state);
             }
             StateTable[cur[i].state].representative = cur[i].content.representative;
         }




More information about the wine-cvs mailing list