Commit 14219b0c authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

wined3d: Fix a typo in vertexshader_init.

Should fix the graphical corruptions recently introduced by 002713de.
parent 5c323a54
...@@ -2312,7 +2312,7 @@ static HRESULT vertexshader_init(struct wined3d_shader *shader, struct wined3d_d ...@@ -2312,7 +2312,7 @@ static HRESULT vertexshader_init(struct wined3d_shader *shader, struct wined3d_d
shader->u.vs.attributes[input->register_idx].usage = shader->u.vs.attributes[input->register_idx].usage =
shader_usage_from_semantic_name(input->semantic_name); 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)) || shader->load_local_constsF = (reg_maps->usesrelconstF && !list_empty(&shader->constantsF)) ||
......
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