mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-17 15:54:23 +00:00
Tests should work under TRACY_MANUAL_LIFETIME.
This calls tracy::StartupProfiler(); before any other tracy call (in static init) if TRACY_MANUAL_LIFETIME is set
This commit is contained in:
@@ -25,6 +25,9 @@ struct static_init_test_t
|
||||
{
|
||||
static_init_test_t()
|
||||
{
|
||||
#ifdef TRACY_MANUAL_LIFETIME
|
||||
tracy::StartupProfiler();
|
||||
#endif
|
||||
ZoneScoped;
|
||||
ZoneTextF( "Static %s", "init test" );
|
||||
TracyLogString( tracy::MessageSeverity::Info, 0, TRACY_CALLSTACK, "Static init" );
|
||||
|
||||
Reference in New Issue
Block a user