From 0d15d45c3ae3a08713c38bb1517f0fd1a674fabd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 11 Nov 2017 14:24:22 +0100 Subject: [PATCH] Don't send source location through the queue. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index d84be5ce..df6c41b7 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -327,7 +327,7 @@ void Profiler::SendSourceLocation( uint64_t ptr ) item.srcloc.r = ( srcloc->color ) & 0xFF; item.srcloc.g = ( srcloc->color >> 8 ) & 0xFF; item.srcloc.b = ( srcloc->color >> 16 ) & 0xFF; - s_token.ptr->enqueue( std::move( item ) ); + AppendData( &item, QueueDataSize[item.hdr.idx] ); } bool Profiler::SendSourceLocationPayload( uint64_t _ptr )