Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*
authorSunny Sun <sunny.sun@arm.com>
Fri, 10 Mar 2017 06:46:23 +0000 (14:46 +0800)
committerAlexander Galazin <alexander.galazin@arm.com>
Fri, 10 Mar 2017 07:55:25 +0000 (08:55 +0100)
Change-Id: I1432dbff1db24b0f1dd2c9a297822b4fbdb1aa76

modules/gles31/functional/es31fSRGBDecodeTests.cpp

index bb5c7bc..d3f947f 100644 (file)
@@ -669,7 +669,7 @@ SRGBTestProgram::SRGBTestProgram    (Context& context, const FragmentShaderParamete
        for (int idx = 0; idx < activeUniforms; idx++)
        {
                gl.getActiveUniform(this->getHandle(), idx, maxLen, NULL, &size, &type, &uniformName[0]);
-               location = gl.getUniformLocation(this->getHandle(), &uniformName[idx]);
+               location = gl.getUniformLocation(this->getHandle(), &uniformName[0]);
 
                UniformData uniformData(location, std::string(&uniformName[0], strlen(&uniformName[0])));
                m_uniformDataList.push_back(uniformData);