mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix TRACY_NO_CALLSTACK on Windows.
This commit is contained in:
parent
6e70b7c20b
commit
c12505c19d
@ -1415,7 +1415,9 @@ void Profiler::SpawnWorkerThreads()
|
|||||||
|
|
||||||
#if defined _WIN32 && !defined TRACY_UWP && !defined TRACY_NO_CRASH_HANDLER
|
#if defined _WIN32 && !defined TRACY_UWP && !defined TRACY_NO_CRASH_HANDLER
|
||||||
s_profilerThreadId = GetThreadId( s_thread->Handle() );
|
s_profilerThreadId = GetThreadId( s_thread->Handle() );
|
||||||
|
# ifdef TRACY_HAS_CALLSTACK
|
||||||
s_symbolThreadId = GetThreadId( s_symbolThread->Handle() );
|
s_symbolThreadId = GetThreadId( s_symbolThread->Handle() );
|
||||||
|
# endif
|
||||||
m_exceptionHandler = AddVectoredExceptionHandler( 1, CrashFilter );
|
m_exceptionHandler = AddVectoredExceptionHandler( 1, CrashFilter );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user