mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 02:13:37 +00:00
d3d12/tests: Don't check the refcount after releasing the dxgi adapter.
The refcount is >= 1 on Windows 10 1709 and 1809 but 0 on more recent versions. So its value is not really important. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54299
This commit is contained in:
parent
aabdb15458
commit
9b38ae997f
|
@ -884,8 +884,7 @@ static void test_create_device(void)
|
|||
ok(refcount == 1, "Got unexpected refcount %lu.\n", refcount);
|
||||
hr = D3D12CreateDevice((IUnknown *)adapter, D3D_FEATURE_LEVEL_11_0, &IID_ID3D12Device, (void **)&device);
|
||||
ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
|
||||
refcount = IDXGIAdapter_Release(adapter);
|
||||
ok(refcount >= 1, "Got unexpected refcount %lu.\n", refcount);
|
||||
IDXGIAdapter_Release(adapter);
|
||||
adapter = NULL;
|
||||
|
||||
luid = ID3D12Device_GetAdapterLuid(device);
|
||||
|
|
Loading…
Reference in a new issue