From cc4586523975d0d5caf24ebc5b99c878446db305 Mon Sep 17 00:00:00 2001 From: Ashley Ruglys Date: Wed, 17 Nov 2021 11:31:02 +0100 Subject: [PATCH] Small formatting changes --- TracyC.h | 1 + client/TracyProfiler.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TracyC.h b/TracyC.h index c851429c..4a511314 100644 --- a/TracyC.h +++ b/TracyC.h @@ -133,6 +133,7 @@ struct ___tracy_gpu_context_name_data { // This struct, as visible to user, is immutable, so treat it as if const was declared here. typedef /*const*/ struct ___tracy_c_zone_context TracyCZoneCtx; + #ifdef TRACY_MANUAL_LIFETIME TRACY_API void ___tracy_startup_profiler(void); TRACY_API void ___tracy_shutdown_profiler(void); diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index f21ca179..9e738452 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -3968,7 +3968,6 @@ TRACY_API uint64_t ___tracy_alloc_srcloc_name( uint32_t line, const char* source TRACY_API void ___tracy_emit_gpu_zone_begin_alloc( const struct ___tracy_gpu_zone_begin_data data, int active ) { if( !active ) return; - { TracyLfqPrepareC( tracy::QueueType::GpuZoneBeginAllocSrcLoc ); tracy::MemWrite( &item->gpuZoneBegin.cpuTime, tracy::Profiler::GetTime() );