mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-18 18:19:12 +00:00
Don't delete context's own record when deleting context resources
This commit is contained in:
1 file changed
+1
-1
@@ -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