Renders to glyph and I think the atlas targets (but not the screen)

This commit is contained in:
2024-06-13 20:44:10 -04:00
parent 7ec00edfbd
commit bcb684e140
3 changed files with 8 additions and 4 deletions

View File

@ -457,7 +457,7 @@ font_load :: proc(path_file : string,
logf("Loading font: %v", path_file)
provider_data := & get_state().font_provider_data; using provider_data
font_data, read_succeded : = os.read_entire_file( path_file )
font_data, read_succeded : = os.read_entire_file( path_file, persistent_allocator() )
verify( b32(read_succeded), str_fmt("Failed to read font file for: %v", path_file) )
font_data_size := cast(i32) len(font_data)