From a8cc3cb06b666bf1a7db43b4b34c9e1ee9552ea5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 4 Mar 2023 00:33:52 +0100 Subject: [PATCH] Use on demand flag in GetFirstTime(). --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 6c67604d..6c3f9a9f 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -2187,7 +2187,7 @@ bool Worker::AreFramesUsed() const int64_t Worker::GetFirstTime() const { - if( m_data.frameOffset == 0 ) return 0; + if( !m_onDemand ) return 0; assert( m_data.framesBase->frames.size() >= 2 ); return m_data.framesBase->frames[2].start; }