mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix typo in in intercepted CreateCommittedResource
This commit is contained in:
committed by
Baldur Karlsson
parent
028d71fced
commit
59b43510b2
@@ -373,7 +373,7 @@ HRESULT WrappedID3D12Device::CreateCommittedResource1(
|
||||
void *realptr = NULL;
|
||||
HRESULT ret;
|
||||
SERIALISE_TIME_CALL(ret = m_pDevice4->CreateCommittedResource1(
|
||||
pHeapProperties, HeapFlags, pDesc, InitialResourceState,
|
||||
pHeapProperties, HeapFlags, pCreateDesc, InitialResourceState,
|
||||
pOptimizedClearValue, Unwrap(pProtectedSession), riidResource, &realptr));
|
||||
|
||||
ID3D12Resource *real = NULL;
|
||||
|
||||
@@ -197,7 +197,7 @@ HRESULT WrappedID3D12Device::CreateCommittedResource2(
|
||||
void *realptr = NULL;
|
||||
HRESULT ret;
|
||||
SERIALISE_TIME_CALL(ret = m_pDevice8->CreateCommittedResource2(
|
||||
pHeapProperties, HeapFlags, pDesc, InitialResourceState,
|
||||
pHeapProperties, HeapFlags, pCreateDesc, InitialResourceState,
|
||||
pOptimizedClearValue, Unwrap(pProtectedSession), riidResource, &realptr));
|
||||
|
||||
ID3D12Resource *real = NULL;
|
||||
|
||||
Reference in New Issue
Block a user