mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fix newlines not initializing font vertices.
This commit is contained in:
parent
8bd5966f87
commit
376d746686
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue