[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
1 changed files with 1 additions and 1 deletions

View File

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