From eba17d0fd8c26f846041e57c3a90790e0ce08687 Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Fri, 31 May 2024 07:11:10 -0700 Subject: [PATCH] fix TracyD3D11 "on demand" --- public/tracy/TracyD3D11.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tracy/TracyD3D11.hpp b/public/tracy/TracyD3D11.hpp index 8aebdb26..3ed151bf 100644 --- a/public/tracy/TracyD3D11.hpp +++ b/public/tracy/TracyD3D11.hpp @@ -357,7 +357,7 @@ public: private: tracy_force_inline D3D11ZoneScope( D3D11Ctx* ctx, bool active ) #ifdef TRACY_ON_DEMAND - : m_active( is_active && GetProfiler().IsConnected() ) + : m_active( active && GetProfiler().IsConnected() ) #else : m_active( active ) #endif