From 35bd25201ff3ea97fe023db792d0e603b7426536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 27 Apr 2014 16:20:59 +0200 Subject: [PATCH] Fix usage of reserved GLSL keyword in test. --- src/Magnum/Test/MeshGLTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Test/MeshGLTest.cpp b/src/Magnum/Test/MeshGLTest.cpp index 5ff11396d..b00867ac6 100644 --- a/src/Magnum/Test/MeshGLTest.cpp +++ b/src/Magnum/Test/MeshGLTest.cpp @@ -328,8 +328,8 @@ FloatShader::FloatShader(const std::string& type, const std::string& conversion) "void main() { gl_FragColor = " + conversion + "; }\n"); #else frag.addSource("in mediump " + type + " valueInterpolated;\n" - "out mediump vec4 output;\n" - "void main() { output = " + conversion + "; }\n"); + "out mediump vec4 result;\n" + "void main() { result = " + conversion + "; }\n"); #endif CORRADE_INTERNAL_ASSERT_OUTPUT(frag.compile()); attachShader(frag);