diff --git a/public/tracy/Tracy.hpp b/public/tracy/Tracy.hpp index 1ffaa0ed..bed51179 100644 --- a/public/tracy/Tracy.hpp +++ b/public/tracy/Tracy.hpp @@ -136,7 +136,6 @@ #ifndef TRACY_CALLSTACK #define TRACY_CALLSTACK 0 -#define TRACY_CALLSTACK_SET #endif #define TracyNoop tracy::ProfilerAvailable() @@ -250,11 +249,6 @@ # define TracyFiberLeave tracy::Profiler::LeaveFiber() #endif -#ifdef TRACY_CALLSTACK_SET -#undef TRACY_CALLSTACK_SET -#undef TRACY_CALLSTACK -#endif - #endif #endif diff --git a/public/tracy/TracyC.h b/public/tracy/TracyC.h index 99963bda..924dc77b 100644 --- a/public/tracy/TracyC.h +++ b/public/tracy/TracyC.h @@ -250,7 +250,6 @@ TRACY_API int ___tracy_connected(void); #ifndef TRACY_CALLSTACK #define TRACY_CALLSTACK 0 -#define TRACY_CALLSTACK_SET #endif #define TracyCZone( ctx, active ) static const struct ___tracy_source_location_data TracyConcat(__tracy_source_location,TracyLine) = { NULL, __func__, TracyFile, (uint32_t)TracyLine, 0 }; TracyCZoneCtx ctx = ___tracy_emit_zone_begin_callstack( &TracyConcat(__tracy_source_location,TracyLine), TRACY_CALLSTACK, active ); @@ -376,11 +375,6 @@ TRACY_API void ___tracy_fiber_leave( void ); # define TracyCFiberLeave ___tracy_fiber_leave(); #endif -#ifdef TRACY_CALLSTACK_SET -#undef TRACY_CALLSTACK_SET -#undef TRACY_CALLSTACK -#endif - #endif #ifdef __cplusplus