From: Ken Thomases Subject: d3d9/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8. Message-Id: <53A7A22D-F406-40D7-9496-59EA990CCC85@codeweavers.com> Date: Wed, 12 Feb 2014 13:27:32 -0600 For . --- dlls/d3d9/tests/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 6877a0b..4f94c3b 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -2347,7 +2347,7 @@ static void test_display_formats(void) hr = IDirect3D9_CheckDeviceType(d3d9, D3DADAPTER_DEFAULT, device_type, formats[display].format, formats[backbuffer].format, windowed); - ok(SUCCEEDED(hr) == should_pass, + ok(SUCCEEDED(hr) == should_pass || broken(SUCCEEDED(hr) && !has_modes) /* Win8 64-bit */, "Got unexpected hr %#x for %s / %s, windowed %#x, should_pass %#x.\n", hr, formats[display].name, formats[backbuffer].name, windowed, should_pass); }