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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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