mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Attach pending frame images only to the main frame set.
This commit is contained in:
parent
afbd6b8786
commit
763f5aafdd
@ -4291,11 +4291,14 @@ void Worker::ProcessFrameMark( const QueueFrameMark& ev )
|
||||
} );
|
||||
|
||||
int32_t frameImage = -1;
|
||||
auto fis = m_frameImageStaging.find( fd->frames.size() );
|
||||
if( fis != m_frameImageStaging.end() )
|
||||
if( ev.name == 0 )
|
||||
{
|
||||
frameImage = fis->second;
|
||||
m_frameImageStaging.erase( fis );
|
||||
auto fis = m_frameImageStaging.find( fd->frames.size() );
|
||||
if( fis != m_frameImageStaging.end() )
|
||||
{
|
||||
frameImage = fis->second;
|
||||
m_frameImageStaging.erase( fis );
|
||||
}
|
||||
}
|
||||
|
||||
assert( fd->continuous == 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user