mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 02:46:32 +00:00
d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHRotateZ().
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:
parent
141da77890
commit
af7125e56b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue