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

d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalConeLight().

parent 9ccbb303
......@@ -2680,7 +2680,7 @@ static void test_D3DXSHEvalConeLight(void)
dir.x = 1.1f; dir.y = 1.2f; dir.z = 2.76f;
for (l = 0; l < sizeof(test) / sizeof(test[0]); l++)
for (l = 0; l < ARRAY_SIZE(test); ++l)
{
for (order = D3DXSH_MINORDER; order <= D3DXSH_MAXORDER; order++)
{
......
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