From 6af1c3e126b4778a4c3a92bb11690958c0796b36 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 28 Dec 2025 14:02:29 +1100 Subject: [PATCH] change assert from static --- fonts.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);