mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 15:08:19 +00:00
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);
|
||||
}
|
||||
|
||||
static void prune_invalid_states(struct StateEntry *state_table, const struct wined3d_gl_info *gl_info,
|
||||
const struct wined3d_d3d_info *d3d_info)
|
||||
static void prune_invalid_states(struct StateEntry *state_table, const struct wined3d_d3d_info *d3d_info)
|
||||
{
|
||||
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);
|
||||
|
||||
return WINED3D_OK;
|
||||
|
|
Loading…
Reference in a new issue