From 372f23024163e0fab57a847ddda41f06857efd7e Mon Sep 17 00:00:00 2001 From: aura Date: Mon, 27 Jul 2026 11:55:57 +0200 Subject: undo/redo props - WIP --- src/util/profiler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/profiler.h') diff --git a/src/util/profiler.h b/src/util/profiler.h index 05e4b0c..c7a0fd1 100644 --- a/src/util/profiler.h +++ b/src/util/profiler.h @@ -142,6 +142,7 @@ extern void __profiler_intern_draw_overlay( struct GL_FONT* font ); #define profiler_init() __profiler_intern_init() #define profiler_draw_tree( font ) __profiler_intern_draw_overlay( font ) #define profiler_trace() __profiler_intern_trace() +#define trace( ... ) do { dlog( __VA_ARGS__ ); profiler_trace(); } while(0) #else #define PROFILE( x ) @@ -149,4 +150,5 @@ extern void __profiler_intern_draw_overlay( struct GL_FONT* font ); #define profiler_trace() #define profiler_init() #define profiler_draw_tree( x ) +#define trace( ... ) #endif -- cgit v1.2.3