fixed spritefont size assignment typo

This commit is contained in:
Noel Berry 2020-10-19 20:38:52 -07:00
parent 5915ae1938
commit 05bce9cff6

View File

@ -147,7 +147,7 @@ void SpriteFont::build(const Font& font, float size, const uint32_t* charset)
ascent = font.Ascent() * scale;
descent = font.Descent() * scale;
line_gap = font.LineGap() * scale;
size = size;
this->size = size;
Packer packer;
packer.spacing = 0;