wined3d: Use the rep instead of the apply function to determine if a state is used.
This commit is contained in:
parent
03c472bff0
commit
f70193b915
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue