wined3d: Use the rep instead of the apply function to determine if a state is used.

This commit is contained in:
Henri Verbeet 2010-04-01 11:34:45 +02:00 committed by Alexandre Julliard
parent 03c472bff0
commit f70193b915
1 changed files with 1 additions and 1 deletions

View File

@ -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;