From a7d2d5f08b66edd29d5335abebe6d7ba21315954 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Nov 2019 01:10:50 +0100 Subject: [PATCH] Fix DeferItem() call. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index e9db1c1f..04a4a246 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2525,7 +2525,7 @@ void Profiler::ParameterSetup( uint32_t idx, const char* name, bool isBool, int3 tracy::MemWrite( &item->paramSetup.val, val ); #ifdef TRACY_ON_DEMAND - DeferItem( *item ); + GetProfiler().DeferItem( *item ); #endif tail.store( magic + 1, std::memory_order_release );