revert ccca2be496
This commit is contained in:
parent
fe9e2bdf49
commit
6a13245fd9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user