diff options
author | KikooDX <kikoodx@paranoici.org> | 2022-03-03 15:14:05 +0100 |
---|---|---|
committer | KikooDX <kikoodx@paranoici.org> | 2022-03-03 15:14:05 +0100 |
commit | 73f8d58c1aa3713001d99c734046f7ae28c205a3 (patch) | |
tree | 9d752c857b28788a50a1f19bd5132b13387436ec | |
parent | 2f6f0b858c253ec5eea1447b07801975c2d56ded (diff) | |
download | lzy-73f8d58c1aa3713001d99c734046f7ae28c205a3.tar.gz |
font init bugfix of shame
-rw-r--r-- | inc/lzy.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |