[fix] Fixed an issue that rendered characters sometimes were dirty.
This commit is contained in:
parent
0f4c3dcc77
commit
6f6b08c06b
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user