change assert from static

This commit is contained in:
Matthew 2025-12-28 14:02:29 +11:00
parent 74f992ade1
commit 6af1c3e126

View File

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