Huw Davies : d3d10core/tests: Skip the tests if we can' t create a DXGI factory.

Alexandre Julliard julliard at winehq.org
Thu Dec 4 09:02:50 CST 2008


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Dec  3 14:03:10 2008 +0000

d3d10core/tests: Skip the tests if we can't create a DXGI factory.

---

 dlls/d3d10core/tests/device.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d10core/tests/device.c b/dlls/d3d10core/tests/device.c
index 8a01222..2989893 100644
--- a/dlls/d3d10core/tests/device.c
+++ b/dlls/d3d10core/tests/device.c
@@ -32,7 +32,6 @@ static ID3D10Device *create_device(void)
     HRESULT hr;
 
     hr = CreateDXGIFactory(&IID_IDXGIFactory, (void *)&factory);
-    ok(SUCCEEDED(hr), "CreateDXGIFactory failed, hr %#x\n", hr);
     if (FAILED(hr)) goto cleanup;
 
     hr = IDXGIFactory_EnumAdapters(factory, 0, &adapter);




More information about the wine-cvs mailing list