aboutsummaryrefslogtreecommitdiff
path: root/source/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/all.h')
-rw-r--r--source/all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/all.h b/source/all.h
index b8f13bd..9d97653 100644
--- a/source/all.h
+++ b/source/all.h
@@ -9,6 +9,8 @@
#define TEXT_BUFFER_LIMIT (1<<12)
#define FRAME_LIMIT (1<<4)
+#define MIN(a,b) (a)<(b)?(a):(b)
+
typedef struct {
Font font;
float frame_x[FRAME_LIMIT];