mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Auto-initialize profiler in delayed init scenario.
This commit is contained in:
parent
fad7e72fd4
commit
4eb78f5c86
@ -952,6 +952,11 @@ std::atomic<ThreadNameData*>& GetThreadNameData() { return GetProfilerData().thr
|
||||
TRACY_API LuaZoneState& GetLuaZoneState() { return GetProfilerThreadData().luaZoneState; }
|
||||
# endif
|
||||
|
||||
namespace
|
||||
{
|
||||
const auto& __profiler_init = GetProfiler();
|
||||
}
|
||||
|
||||
#else
|
||||
TRACY_API void InitRPMallocThread()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user