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.h4
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);