Commit 563f3cbc authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

d3dx9_36: Use correct loop index (Coverity).

parent 3de37fef
...@@ -560,7 +560,7 @@ static struct d3dx_parameter *get_valid_parameter(struct ID3DXBaseEffectImpl *ba ...@@ -560,7 +560,7 @@ static struct d3dx_parameter *get_valid_parameter(struct ID3DXBaseEffectImpl *ba
for (m = 0; m < pass->annotation_count; ++m) for (m = 0; m < pass->annotation_count; ++m)
{ {
if (pass->annotation_handles[i] == parameter) if (pass->annotation_handles[m] == parameter)
{ {
return get_parameter_struct(parameter); return get_parameter_struct(parameter);
} }
......
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