Update djui_font.c

This commit is contained in:
Mike 2024-12-27 05:38:54 -06:00
parent 29f7455c58
commit 18e95548a0

View file

@ -16,7 +16,7 @@ static void djui_font_normal_render_char(char* c) {
u32 ty = index / 32;
extern ALIGNED8 const u8 texture_font_normal[];
djui_gfx_render_texture_tile(texture_font_normal, 256, 128, 32, tx * 8, ty * 16, 8, 16, false, true);
djui_gfx_render_texture_tile(texture_font_normal, 256, 512, 32, tx * 8, ty * 16, 8, 16, false, true);
}
static f32 djui_font_normal_char_width(char* c) {
@ -147,7 +147,7 @@ static void djui_font_aliased_render_char(char* c) {
u32 ty = index / 32;
extern ALIGNED8 const u8 texture_font_aliased[];
djui_gfx_render_texture_tile(texture_font_aliased, 512, 256, 32, tx * 16, ty * 32, 16, 32, false, true);
djui_gfx_render_texture_tile(texture_font_aliased, 512, 1024, 32, tx * 16, ty * 32, 16, 32, false, true);
}
static f32 djui_font_aliased_char_width(char* c) {