diff --git a/src/modules/graphics/opengl/Text.cpp b/src/modules/graphics/opengl/Text.cpp index 8b66fafa5..79deac7f4 100644 --- a/src/modules/graphics/opengl/Text.cpp +++ b/src/modules/graphics/opengl/Text.cpp @@ -129,6 +129,7 @@ void Text::addTextData(const TextData &t) { voffset = 0; draw_commands.clear(); + text_data.clear(); } uploadVertices(vertices, voffset);