mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Don't delete context's own record when deleting context resources
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
size_t count = 0;
|
||||
for(auto it = m_CurrentResourceIds.begin(); it != m_CurrentResourceIds.end(); it++)
|
||||
{
|
||||
if(it->first.ContextShareGroup == context)
|
||||
if(it->first.ContextShareGroup == context && it->first.Namespace != eResSpecial)
|
||||
{
|
||||
++count;
|
||||
ResourceId res = it->second;
|
||||
|
||||
Reference in New Issue
Block a user