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;