mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add TracyIsConnected macro.
This commit is contained in:
parent
b8df7a1302
commit
d815b79db0
@ -75,6 +75,7 @@
|
|||||||
|
|
||||||
#define TracyParameterRegister(x)
|
#define TracyParameterRegister(x)
|
||||||
#define TracyParameterSetup(x,y,z,w)
|
#define TracyParameterSetup(x,y,z,w)
|
||||||
|
#define TracyIsConnected false
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@ -193,6 +194,7 @@
|
|||||||
|
|
||||||
#define TracyParameterRegister( cb ) tracy::Profiler::ParameterRegister( cb );
|
#define TracyParameterRegister( cb ) tracy::Profiler::ParameterRegister( cb );
|
||||||
#define TracyParameterSetup( idx, name, isBool, val ) tracy::Profiler::ParameterSetup( idx, name, isBool, val );
|
#define TracyParameterSetup( idx, name, isBool, val ) tracy::Profiler::ParameterSetup( idx, name, isBool, val );
|
||||||
|
#define TracyIsConnected tracy::GetProfiler().IsConnected()
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user