Fix typo in in intercepted CreateCommittedResource

This commit is contained in:
William Hjelm
2022-06-17 20:30:25 +02:00
committed by Baldur Karlsson
parent 028d71fced
commit 59b43510b2
2 changed files with 2 additions and 2 deletions
@@ -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;