d3dx9/tests: Fix some test failures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6024656f98
commit
7b38f20458
|
@ -11109,21 +11109,25 @@ static void D3DXCreateAnimationControllerTest(void)
|
|||
hr = D3DXCreateAnimationController(0, 0, 0, 0, NULL);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
|
||||
animation = (void*)0xdeadbeef;
|
||||
hr = D3DXCreateAnimationController(0, 1, 1, 1, &animation);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
ok(!animation, "Got unexpected animation %p.\n", animation);
|
||||
ok(animation == (void*)0xdeadbeef, "Got unexpected animation %p.\n", animation);
|
||||
|
||||
animation = (void*)0xdeadbeef;
|
||||
hr = D3DXCreateAnimationController(1, 0, 1, 1, &animation);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
ok(!animation, "Got unexpected animation %p.\n", animation);
|
||||
ok(animation == (void*)0xdeadbeef, "Got unexpected animation %p.\n", animation);
|
||||
|
||||
animation = (void*)0xdeadbeef;
|
||||
hr = D3DXCreateAnimationController(1, 1, 0, 1, &animation);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
ok(!animation, "Got unexpected animation %p.\n", animation);
|
||||
ok(animation == (void*)0xdeadbeef, "Got unexpected animation %p.\n", animation);
|
||||
|
||||
animation = (void*)0xdeadbeef;
|
||||
hr = D3DXCreateAnimationController(1, 1, 1, 0, &animation);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
ok(!animation, "Got unexpected animation %p.\n", animation);
|
||||
ok(animation == (void*)0xdeadbeef, "Got unexpected animation %p.\n", animation);
|
||||
|
||||
hr = D3DXCreateAnimationController(1, 1, 1, 1, &animation);
|
||||
ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
|
||||
|
|
Loading…
Reference in New Issue