libs/vkd3d: Create Vulkan Query Pools for D3D12 Query Heaps.

This commit is contained in:
Sven Hesse
2017-08-23 16:18:15 +02:00
parent 6c5d8da24d
commit 79cbc900bc
3 changed files with 62 additions and 3 deletions

View File

@@ -1419,7 +1419,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CreateQueryHeap(ID3D12Device *ifac
TRACE("iface %p, desc %p, iid %s, heap %p.\n",
iface, desc, debugstr_guid(iid), heap);
if (FAILED(hr = d3d12_query_heap_create(device, &object)))
if (FAILED(hr = d3d12_query_heap_create(device, &object, desc)))
return hr;
return return_interface((IUnknown *)&object->ID3D12QueryHeap_iface,