mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-28 18:31:40 +00:00
erase all liveIDs when replacing resources
This commit is contained in:
committed by
Baldur Karlsson
parent
c6c93efd22
commit
5f61bf1510
@@ -1454,7 +1454,7 @@ void ReplayProxy::Proxied_ReplaceResource(ParamSerialiser ¶mser, ReturnSeria
|
||||
}
|
||||
|
||||
if(paramser.IsWriting())
|
||||
m_LiveIDs.erase(from);
|
||||
m_LiveIDs.clear();
|
||||
|
||||
SERIALISE_RETURN_VOID();
|
||||
}
|
||||
@@ -1484,7 +1484,7 @@ void ReplayProxy::Proxied_RemoveReplacement(ParamSerialiser ¶mser, ReturnSer
|
||||
}
|
||||
|
||||
if(paramser.IsWriting())
|
||||
m_LiveIDs.erase(id);
|
||||
m_LiveIDs.clear();
|
||||
|
||||
SERIALISE_RETURN_VOID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user