aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/font.c')
-rw-r--r--src/graphics/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/font.c b/src/graphics/font.c
index 669c2ac..8344a04 100644
--- a/src/graphics/font.c
+++ b/src/graphics/font.c
@@ -22,7 +22,7 @@ int mgl_font_load_from_file(mgl_font *self, const char *filepath, unsigned int c
self->num_packed_chars = 0;
mgl_filedata filedata;
- if(mgl_load_file(filepath, &filedata) != 0) {
+ if(mgl_load_file(filepath, &filedata, NULL) != 0) {
fprintf(stderr, "Error: failed to load font %s, error: mgl_load_file failed\n", filepath);
return -1;
}