From 60f568590fc198f0c97081e0f8a0444abed5e89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 25 Oct 2023 12:58:04 +0200 Subject: [PATCH] Text: no, the layer isn't ignored anymore. --- src/Magnum/Text/Renderer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Magnum/Text/Renderer.cpp b/src/Magnum/Text/Renderer.cpp index e66249689..2ffed6c6a 100644 --- a/src/Magnum/Text/Renderer.cpp +++ b/src/Magnum/Text/Renderer.cpp @@ -110,8 +110,7 @@ Range2D renderGlyphQuadsInto(const AbstractFont& font, const Float size, const A Range2D rectangle; for(std::size_t i = 0; i != glyphIds.size(); ++i) { /* Offset of the glyph rectangle relative to the cursor, layer, - texture coordinates. We checked that the glyph cache is 2D above - so the layer can be ignored. */ + texture coordinates */ const Containers::Triple cacheGlyph = cache.glyph(*fontId, glyphIds[i]); /* 2---3