From 59ad47162df1964859fe1fedd279ff8301728ff4 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Wed, 6 Mar 2024 16:44:01 -0500 Subject: [PATCH] Update font_provider with raylib changes --- code/font_provider.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/font_provider.odin b/code/font_provider.odin index c29fc4b..ff6bc98 100644 --- a/code/font_provider.odin +++ b/code/font_provider.odin @@ -184,8 +184,8 @@ to_rl_Font :: proc( id : FontID, size := Font_Use_Default_Size ) -> rl.Font rl_font : rl.Font rl_font.baseSize = px_render.size - rl_font.charsCount = px_render.count - rl_font.charsPadding = px_render.padding + rl_font.glyphCount = px_render.count + rl_font.glyphPadding = px_render.padding rl_font.glyphs = px_render.glyphs rl_font.recs = px_render.recs rl_font.texture = px_render.texture