ddraw/tests: Fix some test failures on 64-bit Windows.
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b77ac26377
commit
79c5d8af22
|
@ -12998,7 +12998,7 @@ static void test_caps(void)
|
|||
}
|
||||
|
||||
hr = DirectDrawCreate((GUID *)DDCREATE_EMULATIONONLY, &ddraw, NULL);
|
||||
ok(hr == (is_ddraw64 ? E_FAIL : DD_OK), "Got unexpected hr %#x.\n", hr);
|
||||
ok(hr == DD_OK || (is_ddraw64 && hr == E_FAIL), "Got unexpected hr %#x.\n", hr);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
memset(&hal_caps, 0, sizeof(hal_caps));
|
||||
|
|
|
@ -13878,7 +13878,7 @@ static void test_caps(void)
|
|||
}
|
||||
|
||||
hr = DirectDrawCreate((GUID *)DDCREATE_EMULATIONONLY, &ddraw1, NULL);
|
||||
ok(hr == (is_ddraw64 ? E_FAIL : DD_OK), "Got unexpected hr %#x.\n", hr);
|
||||
ok(hr == DD_OK || (is_ddraw64 && hr == E_FAIL), "Got unexpected hr %#x.\n", hr);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = IDirectDraw_QueryInterface(ddraw1, &IID_IDirectDraw2, (void **)&ddraw);
|
||||
|
|
Loading…
Reference in New Issue