[PATCH 2/6] mfplat: Implement IMFDXGIDeviceManager::ResetDevice().

Nikolay Sivov nsivov at codeweavers.com
Wed Aug 28 09:00:22 CDT 2019


On 8/28/19 4:37 PM, Jactry Zeng wrote:

> +    hr = IUnknown_QueryInterface(device, &IID_ID3D11Device, (void **)&d3d_device);
> +    if (FAILED(hr))
> +        hr = IUnknown_QueryInterface(device, &IID_ID3D12Device, (void **)&d3d_device);

Can we query for IDXGIDevice instead?

>       test_create_dxgi_device_manager();
> +    test_reset_device();
Please use existing function for that.

Also, what's a point of d3d12 device case?




More information about the wine-devel mailing list