Segregated host/api better. Memory setup is problably solid now.

This commit is contained in:
2024-01-30 01:29:48 -05:00
parent 2f6d3636e1
commit 2e6ca2d0fd
4 changed files with 273 additions and 130 deletions

View File

@ -12,7 +12,7 @@ debug_text :: proc( content : string, x, y : f32, size : f32 = 16.0, color : rl.
font := font
if ( font.chars == nil ) {
font = ( cast( ^ State) memory.persistent ).default_font
font = get_state().default_font
}
rl.DrawTextCodepoints( font,