wined3d: Avoid passing gl_info to prune_invalid_states().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e4bf926c3b
commit
3ef1c469bd
|
@ -5386,8 +5386,7 @@ static void multistate_apply_3(struct wined3d_context *context, const struct win
|
||||||
context->device->multistate_funcs[state_id][2](context, state, state_id);
|
context->device->multistate_funcs[state_id][2](context, state, state_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void prune_invalid_states(struct StateEntry *state_table, const struct wined3d_gl_info *gl_info,
|
static void prune_invalid_states(struct StateEntry *state_table, const struct wined3d_d3d_info *d3d_info)
|
||||||
const struct wined3d_d3d_info *d3d_info)
|
|
||||||
{
|
{
|
||||||
unsigned int start, last, i;
|
unsigned int start, last, i;
|
||||||
|
|
||||||
|
@ -5613,7 +5612,7 @@ HRESULT compile_state_table(struct StateEntry *StateTable, APPLYSTATEFUNC **dev_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
prune_invalid_states(StateTable, gl_info, d3d_info);
|
prune_invalid_states(StateTable, d3d_info);
|
||||||
validate_state_table(StateTable);
|
validate_state_table(StateTable);
|
||||||
|
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
|
|
Loading…
Reference in New Issue