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