From b5df8bd4f5a3b71a0ae300066ee1aaaeeefc94d4 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 28 May 2013 08:55:17 +0200 Subject: [PATCH] wined3d: Use debug_d3dstate() in compile_state_table() as well. --- dlls/wined3d/state.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 46ab99028ef..bad4166695e 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; } -- 2.11.4.GIT