summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-03 18:22:44 -0400
committerpommicket <pommicket@gmail.com>2022-11-03 18:22:44 -0400
commit4d995edfdde5953bc5669c54b1194be40a3641f2 (patch)
treedf24530695859b1cf7b48ee2775f0b57a990edc4 /text.c
parent1e49845629e93d4513b9388c524d7d1e0ac945f8 (diff)
better shader system
Diffstat (limited to 'text.c')
-rw-r--r--text.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/text.c b/text.c
index a3ff48e..4a17bbb 100644
--- a/text.c
+++ b/text.c
@@ -16,10 +16,9 @@ typedef struct
extern void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule);
extern int stbtt_BakeFontBitmap(const unsigned char *data, int offset, float pixel_height, unsigned char *pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar *chardata);
#else
-#define STB_TRUETYPE_IMPLEMENTATION
#define STBTT_STATIC
no_warn_start
-#include "lib/stb_truetype.h"
+#include "stb_truetype.c"
no_warn_end
#endif