diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-19 22:12:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-19 22:12:52 +0200 |
commit | 9da3c2188060dc982412d7a6e1cd2051b9ddb6a6 (patch) | |
tree | 18d7cd9ec63c1f2e42dcda3941907f32e34ac241 /include/mgl/graphics/font.h | |
parent | 3bdf82eec2c915e91ae487e29d72639f9efcad67 (diff) |
Change from callback to window poll
Diffstat (limited to 'include/mgl/graphics/font.h')
-rw-r--r-- | include/mgl/graphics/font.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mgl/graphics/font.h b/include/mgl/graphics/font.h index 470662a..6aa9188 100644 --- a/include/mgl/graphics/font.h +++ b/include/mgl/graphics/font.h @@ -24,12 +24,12 @@ typedef struct { struct mgl_font { mgl_texture texture; mgl_font_atlas font_atlas; - unsigned int size; + unsigned int character_size; void *packed_chars; uint32_t num_packed_chars; }; -int mgl_font_load_from_file(mgl_font *self, const char *filepath, unsigned int font_size); +int mgl_font_load_from_file(mgl_font *self, const char *filepath, unsigned int character_size); void mgl_font_unload(mgl_font *self); int mgl_font_get_glyph(mgl_font *self, uint32_t codepoint, mgl_font_glyph *glyph); |