From: Huw Davies Date: Wed, 3 Dec 2008 14:03:10 +0000 (+0000) Subject: d3d10core/tests: Skip the tests if we can't create a DXGI factory. X-Git-Tag: wine-1.1.10~53 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=180f74afcd553a9d691633918cedb2698d942822;p=wine%2Feterwine.git d3d10core/tests: Skip the tests if we can't create a DXGI factory. --- diff --git a/dlls/d3d10core/tests/device.c b/dlls/d3d10core/tests/device.c index 8a012224cf..2989893d00 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);