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

This commit is contained in:
Huw Davies 2008-12-03 14:03:10 +00:00 committed by Alexandre Julliard
parent 12b9d37120
commit 180f74afcd
1 changed files with 0 additions and 1 deletions

View 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);