Commit 9516ce33 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of clearing the texture bindings in state_init_default().

This is arbitrary, we don't do it for any of the other resource bindings either, and the wined3d_state structure is assumed to be zero-initialized.
parent ea4c3d5d
......@@ -1378,11 +1378,6 @@ void state_init_default(struct wined3d_state *state, struct wined3d_device *devi
/* TODO: Vertex offset in the presampled displacement map. */
state->sampler_states[i][WINED3D_SAMP_DMAP_OFFSET] = 0;
}
for (i = 0; i < gl_info->limits.textures; ++i)
{
state->textures[i] = NULL;
}
}
static HRESULT stateblock_init(struct wined3d_stateblock *stateblock,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment