oops: fix one-line mistake that caused some glyphs to randomly scramble

This commit is contained in:
Kae 2024-04-25 01:37:15 +10:00
parent 6f7e2bbb83
commit 8cac985fd0

View File

@ -106,7 +106,7 @@ tuple<Image, Vec2I, bool> Font::render(String::Char c) {
}
m_loadedPixelSize = m_pixelSize;
m_loadedChar = m_loadedChar;
m_loadedChar = c;
FT_GlyphSlot slot = face->glyph;