Make profiler instance static.

This commit is contained in:
Bartosz Taudul 2017-09-27 01:03:01 +02:00
parent 3cc7cc596e
commit 842721a754

View File

@ -43,7 +43,7 @@ static inline uint64_t GetNewId()
} }
#ifndef TRACY_DISABLE #ifndef TRACY_DISABLE
Profiler s_profiler; static Profiler s_profiler;
#endif #endif
static Profiler* s_instance = nullptr; static Profiler* s_instance = nullptr;