aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/font.h
diff options
context:
space:
mode:
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 */