aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/font.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-27 18:31:23 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-28 13:19:14 +0200
commit1e3df56a5c91bce2ef7b03e31156721e2f76a063 (patch)
tree9fd85a16ab3726581ed4745e100114d2674d9769 /include/mgl/graphics/font.h
parent3489e8682089c71c42b30eca80d7230b2ecf44f8 (diff)
Move vertex buffer generation from init to first update, making init void
Diffstat (limited to 'include/mgl/graphics/font.h')
-rw-r--r--include/mgl/graphics/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/graphics/font.h b/include/mgl/graphics/font.h
index 6aa9188..c4904ff 100644
--- a/include/mgl/graphics/font.h
+++ b/include/mgl/graphics/font.h
@@ -32,6 +32,6 @@ struct mgl_font {
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);
+int mgl_font_get_glyph(const mgl_font *self, uint32_t codepoint, mgl_font_glyph *glyph);
#endif /* MGL_FONT_H */