mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
If we're not adding wrappers during capture, don't remove them either!
This commit is contained in:
@@ -156,8 +156,10 @@ class VulkanResourceManager : public ResourceManager<WrappedVkRes*, TypedRealHan
|
||||
auto origit = m_OriginalIDs.find(id);
|
||||
if(origit != m_OriginalIDs.end())
|
||||
EraseLiveResource(origit->second);
|
||||
|
||||
if(m_State < WRITING)
|
||||
ResourceManager::RemoveWrapper(ToTypedHandle(Unwrap(obj)));
|
||||
|
||||
ResourceManager::RemoveWrapper(ToTypedHandle(Unwrap(obj)));
|
||||
ResourceManager::ReleaseCurrentResource(id);
|
||||
VkResourceRecord *record = GetRecord(obj);
|
||||
if(record)
|
||||
|
||||
Reference in New Issue
Block a user