diff options
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,9 +1,15 @@ #pragma once +#include "cglm/types.h" #include "freetype/freetype.h" #include "sokol_gfx.h" #include "utils.h" +struct text_vertex_s { + vec2 pos; + vec2 uv; +}; + enum font_context_error_e : u8 { FONT_CONTEXT_ERROR_NONE = 0, FONT_CONTEXT_ERROR_LOAD_LIBRARY, |
