Commit 3a14df3b authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

wined3d: Fix typo in init_output_registers.

parent 17339f4f
......@@ -4166,7 +4166,7 @@ static void init_output_registers(const struct wined3d_shader *shader,
for (j = 0; j < ps_input_sig->element_count; ++j)
{
const struct wined3d_shader_signature_element *input = &ps_input_sig->elements[i];
const struct wined3d_shader_signature_element *input = &ps_input_sig->elements[j];
if (!input->semantic_name)
continue;
......
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