Hash Table and Hashing Functions

This commit is contained in:
gingerBill 2016-05-02 22:11:23 +01:00
parent b8dff9481a
commit 1da3c0eac8
2 changed files with 1172 additions and 200 deletions

1370
gb.h

File diff suppressed because it is too large Load Diff

View File

@ -1641,7 +1641,7 @@ gbgl_cache_font(gbglFontCache *fc, char const *ttf_filename, f32 font_size)
gb_close_file(&file); gb_close_file(&file);
} else { } else {
GB_PANIC("Could not open ttf file: %s", ttf_filename); GB_PANIC("Could not open ttf file");
} }
stbtt_InitFont(&(*ttf_cache)->finfo, (*ttf_cache)->ttf, stbtt_GetFontOffsetForIndex((*ttf_cache)->ttf, 0)); stbtt_InitFont(&(*ttf_cache)->finfo, (*ttf_cache)->ttf, stbtt_GetFontOffsetForIndex((*ttf_cache)->ttf, 0));