From 14cc6fb3f93ab6e3ce9b51826a9e29968932b0d7 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 18 Jul 2023 13:59:44 -0400 Subject: multiple font textuers --- base.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'base.h') diff --git a/base.h b/base.h index ed64fe8..9aba28a 100644 --- a/base.h +++ b/base.h @@ -168,4 +168,10 @@ static void print(const char *fmt, ...) { #define debug_println(...) #endif +#if PROFILE +#define PROFILE_TIME(var) double var = time_get_seconds(); +#else +#define PROFILE_TIME(var) +#endif + #endif // BASE_H_ -- cgit v1.2.3