diff --git a/src/modules/graphics/Font.cpp b/src/modules/graphics/Font.cpp index c70d0b290..4e2c86a06 100644 --- a/src/modules/graphics/Font.cpp +++ b/src/modules/graphics/Font.cpp @@ -456,7 +456,7 @@ std::vector Font::generateVertices(const ColoredCodepoints &c // If findGlyph invalidates the texture cache, re-start the loop. if (cacheid != textureCacheID) { - i = 0; + i = -1; // The next iteration will increment this to 0. maxwidth = 0; dx = offset.x; dy = offset.y;