Made font_cache use the zpl hash map, make a proper setup for how many atlases to sore in the size_table

This commit is contained in:
2024-02-27 09:32:26 -05:00
parent 4deee942a8
commit 1de141288f
4 changed files with 84 additions and 72 deletions

View File

@ -21,7 +21,7 @@ render :: proc()
render_mode_2d()
//region Render Screenspace
{
fps_msg := str_fmt_tmp( "FPS:", rl.GetFPS() )
fps_msg := str_fmt_tmp( "FPS: %v", rl.GetFPS() )
fps_msg_width := measure_text_size( fps_msg, default_font, 16.0, 0.0 ).x
fps_msg_pos := screen_get_corners().top_right - { fps_msg_width, 0 }
debug_draw_text( fps_msg, fps_msg_pos, 16.0, color = rl.GREEN )