diff --git a/src/Nazara/Graphics/TextSprite.cpp b/src/Nazara/Graphics/TextSprite.cpp index 820ed557a..b746756d9 100644 --- a/src/Nazara/Graphics/TextSprite.cpp +++ b/src/Nazara/Graphics/TextSprite.cpp @@ -217,6 +217,8 @@ namespace Nz for (auto& pair : m_renderInfos) { RenderIndices& indices = pair.second; + if (indices.count == 0) + continue; //< Ignore empty render indices SparsePtr color = colorPtr + indices.first*4; SparsePtr pos = posPtr + indices.first*4;