diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 00:09:56 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 00:09:56 +0100 |
| commit | 11dc980a40b4743b52ad4d88d91659e0cd413794 (patch) | |
| tree | 4ce0fdee90ba58897d48cc9400a5e92930d85ebe /src/text.h | |
| parent | 6013bac1556659f1685170b5e68752189f0b93ba (diff) | |
this drives me crazy
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -16,6 +16,8 @@ struct text_vertex_s { vec2 uv; }; +typedef u32 text_index_t; + enum font_context_error_e { FONT_CONTEXT_ERROR_NONE, FONT_CONTEXT_ERROR_LIBRARY_LOADING, @@ -73,5 +75,6 @@ struct text_s { #define WAYC_TEXT_INIT(font, atlas, packer, string) \ text_s { font, atlas, packer, string } -enum text_error_e wayc_text_vertices(struct text_s* text, - struct text_vertex_s** out); +enum text_error_e wayc_text_assemble(struct text_s* text, usize* out_size, + text_index_t** out_indices, + struct text_vertex_s** out_verts); |
