[fix] Fixed an issue that rendered characters sometimes were dirty.

This commit is contained in:
falsycat 2019-10-14 00:00:00 +00:00
parent 0f4c3dcc77
commit 6f6b08c06b

View File

@ -96,7 +96,7 @@ class Text {
*vertices_ptr++ = uvright; *vertices_ptr++ = uvright;
*vertices_ptr++ = uvbottom; *vertices_ptr++ = uvbottom;
bmp_width += srcsz.x; bmp_width += srcsz.x + 1;
model_width_ += advance; model_width_ += advance;
++glyph_count; ++glyph_count;
} }