mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Treat ResourceId() as a replay only ID
This matches previous behaviour of GetOriginalID() used when checking for live IDs i.e. (GetResourceManager()->GetOriginalID(id) == id)
This commit is contained in:
@@ -41,7 +41,7 @@ ResourceId GetNewUniqueID()
|
||||
|
||||
bool IsReplayOnlyID(ResourceId id)
|
||||
{
|
||||
return baseReplayID < id;
|
||||
return baseReplayID < id || (id == ResourceId());
|
||||
}
|
||||
|
||||
void SetReplayResourceIDs()
|
||||
|
||||
Reference in New Issue
Block a user