diff options
-rw-r--r-- | profiler/src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 59a647c7..0c8ef61e 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -765,7 +765,10 @@ static void DrawContents() } tracy::TextFocused( "IP:", v.second.address.c_str() ); tracy::TextFocused( "Port:", portstr ); - tracy::TextFocused( "PID:", tracy::RealToString( v.second.pid ) ); + if( v.second.pid != 0 ) + { + tracy::TextFocused( "PID:", tracy::RealToString( v.second.pid ) ); + } ImGui::EndTooltip(); } if( v.second.port != port ) |