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:
Clément Grégoire
2026-02-01 14:45:00 +01:00
parent bc122d5c3d
commit be78dc4bfb
+3
View File
@@ -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" );