mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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…
x
Reference in New Issue
Block a user