mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Don't mark lost references as dirty when deleting resource records
This commit is contained in:
@@ -167,11 +167,6 @@ void ResourceRecord::Delete(ResourceRecordHandler *mgr)
|
||||
Length = 0;
|
||||
DataPtr = NULL;
|
||||
|
||||
for(auto it = m_FrameRefs.begin(); it != m_FrameRefs.end(); ++it)
|
||||
if(IsDirtyFrameRef(it->second))
|
||||
// lost a write to this resource, must mark it as gpu dirty.
|
||||
mgr->MarkPendingDirty(it->first);
|
||||
|
||||
DeleteChunks();
|
||||
|
||||
if(ResID != ResourceId())
|
||||
|
||||
Reference in New Issue
Block a user