mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Hook up instrumentation intro achievement.
This commit is contained in:
parent
7dbb3c592f
commit
b38ac8bfef
@ -673,7 +673,21 @@ bool View::DrawImpl()
|
||||
return keepOpen;
|
||||
}
|
||||
|
||||
if( m_achievements )
|
||||
{
|
||||
if( m_worker.IsConnected() ) Achieve( "connectToClient" );
|
||||
|
||||
const auto& threadData = m_worker.GetThreadData();
|
||||
for( auto& td : threadData )
|
||||
{
|
||||
if( !td->timeline.empty() )
|
||||
{
|
||||
Achieve( "instrumentationIntro" );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Attention( m_attnWorking );
|
||||
|
||||
if( !m_uarchSet )
|
||||
|
Loading…
Reference in New Issue
Block a user