Browse Source

Text: fix unused variable warning on an ES2 build.

pull/680/head
Vladimír Vondruš 10 months ago
parent
commit
47ba90bde9
  1. 2
      src/Magnum/Text/Test/DistanceFieldGlyphCacheGLTest.cpp

2
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 /* 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 layer always contains data to process, but it's changed which one it is to
verify all uploaded layers get processed. */ verify all uploaded layers get processed. */
@ -180,6 +181,7 @@ const struct {
{{47, 48, 2}, {208, 209, 6}}, {{47, 48, 2}, {208, 209, 6}},
{}}, {}},
}; };
#endif
#ifdef MAGNUM_BUILD_DEPRECATED #ifdef MAGNUM_BUILD_DEPRECATED
const struct { const struct {

Loading…
Cancel
Save