d3dx9_36: Use correct loop index (Coverity).

This commit is contained in:
Marcus Meissner 2013-04-29 22:11:58 +02:00 committed by Alexandre Julliard
parent 3de37fefce
commit 563f3cbc92
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ static struct d3dx_parameter *get_valid_parameter(struct ID3DXBaseEffectImpl *ba
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);
}