Commit af7125e5 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHRotateZ().

parent 141da778
......@@ -3546,11 +3546,11 @@ static void test_D3DXSHRotateZ(void)
else
end = 48;
for (j = 0; j < 3; j++)
for (j = 0; j < ARRAY_SIZE(angle); ++j)
{
for (order = 0; order <= D3DXSH_MAXORDER + 1; order++)
{
for (i = 0; i < 49; i++)
for (i = 0; i < ARRAY_SIZE(out); ++i)
{
out[i] = ( i + 1.0f ) * ( i + 1.0f );
in[i] = i + 1.01f;
......
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