Text rendering working ok.

This commit is contained in:
James Grogan 2022-11-15 17:16:38 +00:00
parent eef93efc29
commit 4849d83fcf
10 changed files with 127 additions and 42 deletions

View file

@ -5,9 +5,9 @@ FontGlyph::FontGlyph(unsigned width, unsigned height, unsigned bearingX, unsigne
: mImage(std::move(image)),
mWidth(width),
mHeight(height),
mBearingX(mBearingX),
mBearingY(mBearingY),
mAdvanceX(mAdvanceX)
mBearingX(bearingX),
mBearingY(bearingY),
mAdvanceX(advanceX)
{
}