"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/d3d12/tests/d3d12.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

d3d12.c  (wine-5.12.tar.xz):d3d12.c  (wine-5.13.tar.xz)
skipping to change at line 142 skipping to change at line 142
LUID luid; LUID luid;
if (!(device = create_device())) if (!(device = create_device()))
return; return;
luid = ID3D12Device_GetAdapterLuid(device); luid = ID3D12Device_GetAdapterLuid(device);
ID3D12Device_Release(device); ID3D12Device_Release(device);
hr = CreateDXGIFactory2(0, &IID_IDXGIFactory4, (void **)&factory); hr = CreateDXGIFactory2(0, &IID_IDXGIFactory4, (void **)&factory);
ok(hr == S_OK, "Failed to create factory, hr %#x.\n", hr); ok(hr == S_OK, "Failed to create factory, hr %#x.\n", hr);
hr = IDXGIFactory4_EnumAdapterByLuid(factory, luid, &IID_IDXGIAdapter, (void **)&adapter); hr = IDXGIFactory4_EnumAdapterByLuid(factory, luid, &IID_IDXGIAdapter, (void **)&adapter);
todo_wine ok(hr == S_OK, "Failed to enum adapter by LUID, hr %#x.\n", hr); ok(hr == S_OK, "Failed to enum adapter by LUID, hr %#x.\n", hr);
IDXGIFactory4_Release(factory); IDXGIFactory4_Release(factory);
if (FAILED(hr)) if (FAILED(hr))
return; return;
hr = IDXGIAdapter_GetDesc(adapter, &adapter_desc); hr = IDXGIAdapter_GetDesc(adapter, &adapter_desc);
ok(hr == S_OK, "Failed to get adapter desc, hr %#x.\n", hr); ok(hr == S_OK, "Failed to get adapter desc, hr %#x.\n", hr);
IDXGIAdapter_Release(adapter); IDXGIAdapter_Release(adapter);
trace("Adapter: %s, %04x:%04x.\n", wine_dbgstr_w(adapter_desc.Description), trace("Adapter: %s, %04x:%04x.\n", wine_dbgstr_w(adapter_desc.Description),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)