diff options
author | pommicket <pommicket@gmail.com> | 2023-07-18 13:59:44 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-07-18 13:59:44 -0400 |
commit | 14cc6fb3f93ab6e3ce9b51826a9e29968932b0d7 (patch) | |
tree | a2d2e85bb10d0e60b6393a663352c9fcd798fabc /base.h | |
parent | 8c259a758b20a8cc62a04cbc360de0e1e1428382 (diff) |
multiple font textuers
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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_ |