1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

fix TracyD3D11 "on demand"

This commit is contained in:
Marcos Slomp
2024-05-31 07:11:10 -07:00
committed by GitHub
parent c03884d20c
commit eba17d0fd8
+1 -1
View File
@@ -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