From 47ba90bde9c9397b0277093a6d2bbdafe51b92b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 2 Jul 2025 22:49:58 +0200 Subject: [PATCH] Text: fix unused variable warning on an ES2 build. --- src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp b/src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp index d49548bd3..baf6aed4b 100644 --- a/src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp +++ b/src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp @@ -126,6 +126,7 @@ const struct { {}}, }; +#ifndef MAGNUM_TARGET_GLES2 /* Expands upon SetImageData with third dimension. For simplicity only a single layer always contains data to process, but it's changed which one it is to verify all uploaded layers get processed. */ @@ -180,6 +181,7 @@ const struct { {{47, 48, 2}, {208, 209, 6}}, {}}, }; +#endif #ifdef MAGNUM_BUILD_DEPRECATED const struct {