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