summaryrefslogtreecommitdiff
path: root/stb_truetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'stb_truetype.c')
-rw-r--r--stb_truetype.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/stb_truetype.c b/stb_truetype.c
index 2df7a90..07af6b9 100644
--- a/stb_truetype.c
+++ b/stb_truetype.c
@@ -1,4 +1,4 @@
-// used for debug build to speed things up
+// used to speed things up for debug build
// just exports everything in stb_truetype.h
@@ -17,7 +17,14 @@
#define no_warn_end
#endif
+#if !DEBUG
+#define STBTT_STATIC
+#define STBRP_STATIC
+#endif
#define STB_TRUETYPE_IMPLEMENTATION
+#define STB_RECT_PACK_IMPLEMENTATION
+
no_warn_start
+#include "lib/stb_rect_pack.h"
#include "lib/stb_truetype.h"
no_warn_end