Module: wine Branch: master Commit: b5df8bd4f5a3b71a0ae300066ee1aaaeeefc94d4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5df8bd4f5a3b71a0ae300066e...
Author: Henri Verbeet hverbeet@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; }