diff --git a/fonts.d b/fonts.d index 935cc2b..44d82c8 100644 --- a/fonts.d +++ b/fonts.d @@ -243,7 +243,7 @@ CreateAtlas(Arena* arena, FontFace font, f32 size, u32 dimension, bool y_origin_ f32 top = font.glyph.bitmap_top; f32 left = font.glyph.bitmap_left; - static assert(y_origin_top, "only y_origin_top is currently supported"); + assert(y_origin_top, "only y_origin_top is currently supported"); g.ch = cast(dchar)char_code; g.advance = cast(f32)(glyph.advance.x >> 6);