spurious cache_init()

This commit is contained in:
Alessandro Mauri 2023-03-07 22:45:59 +01:00
parent d390a5912c
commit 440e4499c7
Signed by: alema
GPG Key ID: 2B7BF9531FF03BE8

View File

@ -79,8 +79,6 @@ int font_load(struct font_atlas *atlas, const char *path, int size)
atlas->height = atlas->glyph_max_h*4;
atlas->size = size;
cache_init();
// preallocate all ascii characters
for (char c = ' '; c <= '~'; c++) {
if (!font_get_glyph_texture(atlas, c, NULL))