First text box!!!

This commit is contained in:
2024-03-09 10:21:48 -05:00
parent f1edf1c43e
commit 635ce91a9d
13 changed files with 149 additions and 41 deletions

View File

@ -114,7 +114,7 @@ font_load :: proc( path_file : string,
default_size = Font_Default_Point_Size
}
key := cast(u64) crc32( transmute([]byte) desired_id )
key := cast(u64) xxh32( transmute([]byte) desired_id )
def, set_error := zpl_hmap_set( & font_cache, key,FontDef {} )
verify( set_error == AllocatorError.None, "Failed to add new font entry to cache" )