typo
This commit is contained in:
parent
482c0db8b2
commit
79d128c872
2
fonts.d
2
fonts.d
@ -180,7 +180,7 @@ CreateAtlas(Arena* arena, FontFace font, f32 size, u32 dimension)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Glyph* g = atlas.atlas.glyphs.ptr + char_count;
|
Glyph* g = atlas.atlas.glyphs.ptr + char_code;
|
||||||
|
|
||||||
g.ch = cast(dchar)char_code;
|
g.ch = cast(dchar)char_code;
|
||||||
g.advance = cast(f32)(glyph.advance.x >> 6);
|
g.advance = cast(f32)(glyph.advance.x >> 6);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user