d3d10core/tests: Skip the tests if we can't create a DXGI factory.
authorHuw Davies <huw@codeweavers.com>
Wed, 3 Dec 2008 14:03:10 +0000 (14:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 11:51:48 +0000 (12:51 +0100)
dlls/d3d10core/tests/device.c

index 8a012224cffec2dfba3717b8a1b91a5d9380ba2e..2989893d004073cf2567ff8303b915aed48f5b5b 100644 (file)
@@ -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);