Henri Verbeet : wined3d: Use the rep instead of the apply function to determine if a state is used.
Module: wine Branch: master Commit: f70193b9156b2c2f2cb9912d29b56fe4dc2a2d13 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f70193b9156b2c2f2cb9912d29... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Apr 1 11:34:45 2010 +0200 wined3d: Use the rep instead of the apply function to determine if a state is used. --- dlls/wined3d/state.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 04de86f..3602b83 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;
participants (1)
-
Alexandre Julliard