mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Set *all* the vertex data to zero for newlines.
This commit is contained in:
parent
376d746686
commit
861a61cb3a
|
@ -502,7 +502,7 @@ TextCache* Font::buildTextCache(const std::string& text, float offsetX, float of
|
||||||
{
|
{
|
||||||
y += (float)getHeight();
|
y += (float)getHeight();
|
||||||
x = offsetX;
|
x = offsetX;
|
||||||
memset(&vert[i], 0, 6 * sizeof(float));
|
memset(&vert[i], 0, 6 * sizeof(TextCache::Vertex));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue