Commit a57fd101 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

d3d10/effect: Fix d3d object creation for arrays of state objects.

parent 0fe9cba3
......@@ -2233,7 +2233,7 @@ static HRESULT parse_fx10_local_variable(const char *data, size_t data_size,
return E_FAIL;
}
if (FAILED(hr = create_state_object(v)))
if (FAILED(hr = create_state_object(var)))
return hr;
}
}
......
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