mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display lock number on lock list in options.
This commit is contained in:
parent
1967ce871a
commit
262dfa53e9
@ -2792,7 +2792,9 @@ void View::DrawOptions()
|
||||
ImGui::Indent( tw );
|
||||
for( auto& l : m_lockMap )
|
||||
{
|
||||
ImGui::Checkbox( GetString( GetSourceLocation( l.second.srcloc ).function ), &l.second.visible );
|
||||
char buf[1024];
|
||||
sprintf( buf, "%" PRIu64 ": %s", l.first, GetString( GetSourceLocation( l.second.srcloc ).function ) );
|
||||
ImGui::Checkbox( buf , &l.second.visible );
|
||||
}
|
||||
ImGui::Unindent( tw );
|
||||
ImGui::Separator();
|
||||
|
Loading…
Reference in New Issue
Block a user