wined3d: Fix a typo in vertexshader_init.

Should fix the graphical corruptions recently introduced by
002713de6d.
This commit is contained in:
Sebastian Lackner 2015-04-08 04:56:33 +02:00 committed by Alexandre Julliard
parent 5c323a540c
commit 14219b0c3b
1 changed files with 1 additions and 1 deletions

View File

@ -2312,7 +2312,7 @@ static HRESULT vertexshader_init(struct wined3d_shader *shader, struct wined3d_d
shader->u.vs.attributes[input->register_idx].usage =
shader_usage_from_semantic_name(input->semantic_name);
shader->u.vs.attributes[i].usage_idx = input->semantic_idx;
shader->u.vs.attributes[input->register_idx].usage_idx = input->semantic_idx;
}
shader->load_local_constsF = (reg_maps->usesrelconstF && !list_empty(&shader->constantsF)) ||