From 8d3f3ae718e0cbd295fafa872beb36993be82283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 5 Jul 2015 23:49:42 +0200 Subject: [PATCH] Fix compiler warning in tests on ES build. --- src/Magnum/Test/MeshGLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Test/MeshGLTest.cpp b/src/Magnum/Test/MeshGLTest.cpp index 7cb2932fc..dea2ef8cd 100644 --- a/src/Magnum/Test/MeshGLTest.cpp +++ b/src/Magnum/Test/MeshGLTest.cpp @@ -1269,6 +1269,7 @@ namespace { 1.0f, -0.5f }; + #ifndef MAGNUM_TARGET_GLES const Float indexedVertexDataBaseVertex[] = { 0.0f, 0.0f, /* Offset */ @@ -1297,6 +1298,7 @@ namespace { 0.4f, 0.0f, -0.9f, 1.0f, -0.5f }; + #endif constexpr Color4ub indexedResult(64 + 15 + 97, 17 + 164 + 28, 56 + 17, 255); }