From a468609436844187839be32c60312462908c7406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 23 Jan 2022 19:50:28 +0100 Subject: [PATCH] Shaders: rename test instance variable for consistency. --- src/Magnum/Shaders/Test/PhongGLTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Shaders/Test/PhongGLTest.cpp b/src/Magnum/Shaders/Test/PhongGLTest.cpp index 0f6fc838f..11add816a 100644 --- a/src/Magnum/Shaders/Test/PhongGLTest.cpp +++ b/src/Magnum/Shaders/Test/PhongGLTest.cpp @@ -664,7 +664,7 @@ const struct { constexpr struct { const char* name; - const char* file; + const char* expected; PhongGL::Flags flags; Float maxThreshold, meanThreshold; } RenderInstancedData[] { @@ -3683,7 +3683,7 @@ template void PhongGLTest::renderInstanced() { CORRADE_COMPARE_WITH( /* Dropping the alpha channel, as it's always 1.0 */ Containers::arrayCast(_framebuffer.read(_framebuffer.viewport(), {PixelFormat::RGBA8Unorm}).pixels()), - Utility::Directory::join({_testDir, "PhongTestFiles", data.file}), + Utility::Directory::join({_testDir, "PhongTestFiles", data.expected}), (DebugTools::CompareImageToFile{_manager, data.maxThreshold, data.meanThreshold})); #ifndef MAGNUM_TARGET_GLES2