mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +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 );
|
assert( false );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ImGui::Text( "Thread list:" );
|
ImGui::Text( "%s:%i", m_worker.GetString( srcloc.file ), srcloc.line );
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
ImGui::TextDisabled( "Thread list:" );
|
||||||
ImGui::Indent( ty );
|
ImGui::Indent( ty );
|
||||||
for( const auto& t : v.second.threadList )
|
for( const auto& t : v.second.threadList )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user