change assert from static
This commit is contained in:
parent
74f992ade1
commit
6af1c3e126
2
fonts.d
2
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user