Fix newlines not initializing font vertices.

This commit is contained in:
Aloshi 2013-09-12 16:56:42 -05:00
parent 8bd5966f87
commit 376d746686

View file

@ -502,6 +502,7 @@ TextCache* Font::buildTextCache(const std::string& text, float offsetX, float of
{
y += (float)getHeight();
x = offsetX;
memset(&vert[i], 0, 6 * sizeof(float));
continue;
}