From f70193b9156b2c2f2cb9912d29b56fe4dc2a2d13 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 1 Apr 2010 11:34:45 +0200 Subject: [PATCH] wined3d: Use the rep instead of the apply function to determine if a state is used. --- dlls/wined3d/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 04de86fd537..3602b83932e 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -5723,7 +5723,7 @@ HRESULT compile_state_table(struct StateEntry *StateTable, APPLYSTATEFUNC **dev_ * applying later lines, but do not record anything in the state * table */ - if(!cur[i].content.apply) continue; + if (!cur[i].content.representative) continue; handlers = num_handlers(multistate_funcs[cur[i].state]); multistate_funcs[cur[i].state][handlers] = cur[i].content.apply;