mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-01 07:58:31 +00:00
Merge pull request #1267 from siliceum/fix/test-suppport-manual-lifetime
Tests should work under TRACY_MANUAL_LIFETIME.
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