1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix lua zone state init.

This commit is contained in:
Bartosz Taudul
2018-07-13 20:20:37 +02:00
parent 26f2cb336e
commit c3ba0ef4eb
3 changed files with 28 additions and 20 deletions
+1 -2
View File
@@ -180,8 +180,7 @@ std::atomic<ThreadNameData*> init_order(104) s_threadNameData( nullptr );
#endif
#ifdef TRACY_ON_DEMAND
thread_local uint32_t init_order(104) s_luaZoneCounter( 0 );
thread_local bool init_order(104) s_luaZoneActive( false );
thread_local LuaZoneState init_order(104) s_luaZoneState { 0, false };
#endif
Profiler init_order(105) s_profiler;