From 05bce9cff6853e8b0822898a8456800d99c747dd Mon Sep 17 00:00:00 2001 From: Noel Berry Date: Mon, 19 Oct 2020 20:38:52 -0700 Subject: [PATCH] fixed spritefont size assignment typo --- public/blah/drawing/spritefont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/blah/drawing/spritefont.cpp b/public/blah/drawing/spritefont.cpp index e8401e2..f8fff29 100644 --- a/public/blah/drawing/spritefont.cpp +++ b/public/blah/drawing/spritefont.cpp @@ -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;