Ken Thomases : d3d8/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8.

Alexandre Julliard julliard at winehq.org
Thu Feb 13 13:26:10 CST 2014


Module: wine
Branch: master
Commit: bdb9a9e4f0f5394dffbdb40f113dacf8cca98c0e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bdb9a9e4f0f5394dffbdb40f113dacf8cca98c0e

Author: Ken Thomases <ken at codeweavers.com>
Date:   Wed Feb 12 13:27:02 2014 -0600

d3d8/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8.

---

 dlls/d3d8/tests/device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index b93acf4..78f6773 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -1053,7 +1053,7 @@ static void test_display_formats(void)
 
                 hr = IDirect3D8_CheckDeviceType(d3d8, 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);
             }




More information about the wine-cvs mailing list