From 616f33ff65d38ddf2b2f1c35d2c03a40de89f37c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 17 Jun 2026 01:31:01 +0200 Subject: [PATCH] Consistent wait.time checks. --- profiler/src/profiler/TracyView_Callstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyView_Callstack.cpp b/profiler/src/profiler/TracyView_Callstack.cpp index 78c07c3b..d6c5106b 100644 --- a/profiler/src/profiler/TracyView_Callstack.cpp +++ b/profiler/src/profiler/TracyView_Callstack.cpp @@ -131,7 +131,7 @@ void View::DrawCallstackTable( const CallstackFrameId* data, size_t size, uint64 json["thread_id"] = thread; } if( callstack >= 0 ) json["id"] = callstack; - if( wait.time > 0 ) + if( wait.time != 0 ) { json["wait_time"] = TimeToString( wait.time ); if( wait.reason ) json["wait_reason"] = wait.reasonCode;