d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalConeLight().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-05-05 13:40:33 +02:00 committed by Alexandre Julliard
parent 9ccbb303a1
commit ce50cded81
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{