mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-06 08:55:30 +00:00
Remove TracyDebug() logging.
TracyDebug() is in the profiler init path, and logging the message causes the profiler to be initialized (the second time), which deadlocks in GetProfilerData().
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
#ifdef TRACY_VERBOSE
|
||||
# include <stdio.h>
|
||||
# define TracyDebug(...) do { fprintf( stderr, __VA_ARGS__ ); fputc( '\n', stderr ); } while( 0 )
|
||||
#elif !defined(TRACY_NO_INTERNAL_MESSAGE)
|
||||
# define TracyDebug(...) TracyInternalMessage( tracy::MessageSeverity::Debug, __VA_ARGS__ )
|
||||
#else
|
||||
# define TracyDebug(...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user