Module: wine Branch: master Commit: a6f00eb2b9fc3fbf14433930ed6e3555842f7c16 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6f00eb2b9fc3fbf14433930ed...
Author: Ken Thomases ken@codeweavers.com Date: Wed Feb 12 13:27:32 2014 -0600
d3d9/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8.
---
dlls/d3d9/tests/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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); }