mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-29 02:41:08 +00:00
Fix WrappedID3D12Device::CreateHeap worngly returning E_NOINTERFACE.
This commit is contained in:
committed by
Baldur Karlsson
parent
793ea24f9d
commit
5878787daf
@@ -1411,7 +1411,7 @@ HRESULT WrappedID3D12Device::CreateHeap(const D3D12_HEAP_DESC *pDesc, REFIID rii
|
||||
if(ppvHeap == NULL)
|
||||
return m_pDevice->CreateHeap(pDesc, riid, ppvHeap);
|
||||
|
||||
if(riid != __uuidof(ID3D12Heap) || riid != __uuidof(ID3D12Heap1))
|
||||
if(riid != __uuidof(ID3D12Heap) && riid != __uuidof(ID3D12Heap1))
|
||||
return E_NOINTERFACE;
|
||||
|
||||
void *realptr = NULL;
|
||||
|
||||
Reference in New Issue
Block a user