diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index b6923432..e7aa25c4 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -639,6 +639,15 @@ static void DrawContents() ImGuiSelectableFlags flags = ImGuiSelectableFlags_SpanAllColumns; if( badProto ) flags |= ImGuiSelectableFlags_Disabled; const bool selected = ImGui::Selectable( name->second.c_str(), &sel, flags ); + if( ImGui::IsItemHovered() ) + { + char portstr[32]; + sprintf( portstr, "%" PRIu32, v.second.port ); + ImGui::BeginTooltip(); + tracy::TextFocused( "IP:", v.second.address.c_str() ); + tracy::TextFocused( "Port:", portstr ); + ImGui::EndTooltip(); + } if( v.second.port != port ) { ImGui::SameLine();