diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 23:26:31 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 23:26:31 +0100 |
| commit | 8536bcc71498c9109ef4254760edc4cd70ddcccd (patch) | |
| tree | bafe2d4b267a3f3fb0753dee0c852b28bcfb619e /src/text.h | |
| parent | 9a90a8f6a6df2603c510f90ec351edf5aca4f8f6 (diff) | |
working on vao
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -8,13 +8,20 @@ typedef u32 codepoint_t; +struct text_vertex_s { + vec2 pos; + vec2 uv; +}; + enum font_context_error_e { FONT_CONTEXT_ERROR_NONE, - FONT_CONTEXT_ERROR_LIBRARY, + FONT_CONTEXT_ERROR_LIBRARY_LOADING, + FONT_CONTEXT_ERROR_VAO_CREATION, }; struct font_context_s { FT_Library library; + u32 vao; }; enum font_context_error_e wayc_font_context_init(struct font_context_s* ctx); |
