Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiler/src/main.cpp')
-rw-r--r--profiler/src/main.cpp5
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 )