diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 21:38:39 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 21:38:39 +0100 |
| commit | d10134d6c74cb9eef83956a8ec5ce4dce69b5ee0 (patch) | |
| tree | 890ebdb4cf0182368997e209221a0dd742b1f737 /src/text.h | |
| parent | 70a28123dd7b56f33dafc8dc9121e5a5a6161b00 (diff) | |
add blending
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, |
