From 886456ea448f61b05038e75f1d9d04261c911ad6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 23 Dec 2022 17:10:21 +0100 Subject: [PATCH] Load source cache in comparison worker. --- server/TracyView_Compare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView_Compare.cpp b/server/TracyView_Compare.cpp index 3621e2c8..7e805516 100644 --- a/server/TracyView_Compare.cpp +++ b/server/TracyView_Compare.cpp @@ -158,7 +158,7 @@ void View::DrawCompare() m_compare.loadThread = std::thread( [this, f] { try { - m_compare.second = std::make_unique( *f, EventType::None ); + m_compare.second = std::make_unique( *f, EventType::SourceCache ); m_compare.userData = std::make_unique( m_compare.second->GetCaptureProgram().c_str(), m_compare.second->GetCaptureTime() ); } catch( const tracy::UnsupportedVersion& e )