mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Treat an AsyncInvoke with empty tag like no tag
* Otherwise such an invoke could delete untagged events out of the queue which is definitely not what we want. Where is my draw? was doing this and it caused internal untagged events which must not be dropped to be removed.
This commit is contained in:
@@ -249,9 +249,12 @@ QString ReplayManager::GetCurrentProcessingTag()
|
||||
|
||||
void ReplayManager::AsyncInvoke(const rdcstr &tag, ReplayManager::InvokeCallback m)
|
||||
{
|
||||
QString qtag(tag);
|
||||
QString qtag;
|
||||
|
||||
if(!tag.empty())
|
||||
{
|
||||
qtag = tag;
|
||||
|
||||
QMutexLocker autolock(&m_RenderLock);
|
||||
for(int i = 0; i < m_RenderQueue.count();)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user