mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Fix missing assignment of hr in Serialise_CreateCommittedResource1
This commit is contained in:
committed by
Baldur Karlsson
parent
aa7c2170b9
commit
98f91fcc0e
@@ -250,8 +250,8 @@ bool WrappedID3D12Device::Serialise_CreateCommittedResource1(
|
||||
ID3D12Resource *ret = NULL;
|
||||
HRESULT hr = E_NOINTERFACE;
|
||||
if(m_pDevice4)
|
||||
m_pDevice4->CreateCommittedResource1(&props, HeapFlags, &desc, InitialResourceState,
|
||||
pOptimizedClearValue, NULL, guid, (void **)&ret);
|
||||
hr = m_pDevice4->CreateCommittedResource1(&props, HeapFlags, &desc, InitialResourceState,
|
||||
pOptimizedClearValue, NULL, guid, (void **)&ret);
|
||||
else
|
||||
RDCERR("Replaying a without D3D12.4 available");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user