spurious cache_init()

master
Alessandro Mauri 1 year ago
parent d390a5912c
commit 440e4499c7
Signed by: alema
GPG Key ID: 2B7BF9531FF03BE8
  1. 2
      text_rendering/font.c

@ -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))

Loading…
Cancel
Save