mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Display lock source location in tooltip.
This commit is contained in:
parent
cf459c6498
commit
44fae53583
@ -2992,8 +2992,9 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
|
||||
assert( false );
|
||||
break;
|
||||
}
|
||||
ImGui::Text( "Thread list:" );
|
||||
ImGui::Text( "%s:%i", m_worker.GetString( srcloc.file ), srcloc.line );
|
||||
ImGui::Separator();
|
||||
ImGui::TextDisabled( "Thread list:" );
|
||||
ImGui::Indent( ty );
|
||||
for( const auto& t : v.second.threadList )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user