font init bugfix of shame

This commit is contained in:
KikooDX 2022-03-03 15:14:05 +01:00
parent 2f6f0b858c
commit 73f8d58c1a
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ int LZY_Init(const char *title, int target_fps, const char *tset_path,
#endif
#ifdef LZY_GINT_FONT
extern bopti_image_t LZY_GINT_FONT;
font_width = LZY_GINT_FONT.width / LZY_TILE_SIZE;
font_height = LZY_GINT_FONT.height / LZY_TILE_SIZE;
font_width = LZY_GINT_FONT.width / LZY_CHR_WIDTH;
font_height = LZY_GINT_FONT.height / LZY_CHR_HEIGHT;
#endif
LZY_UNUSED(title);
LZY_UNUSED(tset_path);