mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
fix TracyD3D11 "on demand"
This commit is contained in:
parent
c03884d20c
commit
eba17d0fd8
@ -357,7 +357,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
tracy_force_inline D3D11ZoneScope( D3D11Ctx* ctx, bool active )
|
tracy_force_inline D3D11ZoneScope( D3D11Ctx* ctx, bool active )
|
||||||
#ifdef TRACY_ON_DEMAND
|
#ifdef TRACY_ON_DEMAND
|
||||||
: m_active( is_active && GetProfiler().IsConnected() )
|
: m_active( active && GetProfiler().IsConnected() )
|
||||||
#else
|
#else
|
||||||
: m_active( active )
|
: m_active( active )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user