diff options
author | pommicket <pommicket@gmail.com> | 2022-11-03 18:22:44 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-11-03 18:22:44 -0400 |
commit | 4d995edfdde5953bc5669c54b1194be40a3641f2 (patch) | |
tree | df24530695859b1cf7b48ee2775f0b57a990edc4 /text.c | |
parent | 1e49845629e93d4513b9388c524d7d1e0ac945f8 (diff) |
better shader system
Diffstat (limited to 'text.c')
-rw-r--r-- | text.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |