Hash Table and Hashing Functions
This commit is contained in:
parent
b8dff9481a
commit
1da3c0eac8
2
gb_gl.h
2
gb_gl.h
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue