diff --git a/lib/ugui.c3l/src/ugui_font.c3 b/lib/ugui.c3l/src/ugui_font.c3 index 9ababd4..f96a12e 100644 --- a/lib/ugui.c3l/src/ugui_font.c3 +++ b/lib/ugui.c3l/src/ugui_font.c3 @@ -113,10 +113,10 @@ fn void? Font.load(&font, String name, ZString path, uint height, float scale) font.atlas.new(font.id, ATLAS_GRAYSCALE, size, size)!; // FIXME: this crashes with O1 or greater, why?? -// // preallocate the ASCII range -// for (char c = ' '; c < '~'; c++) { -// font.get_glyph((Codepoint)c)!; -// } + // preallocate the ASCII range + for (char c = ' '; c < '~'; c++) { + font.get_glyph((Codepoint)c)!; + } } fn Glyph*? Font.get_glyph(&font, Codepoint code)