From 7e2ba9eee3bfeb50d7447038a4b372456de63528 Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Tue, 29 Mar 2016 15:22:01 -0400 Subject: [PATCH] Fix warning introduced in "Program::getUniformInternal: return only one array element" The warning does not seem to occur on the Chromium bots, but shows when compiling ANGLE standalone. BUG=595836 Change-Id: I3c22bbea263223f9e92f82229817e9e9894a46ad Reviewed-on: https://chromium-review.googlesource.com/335576 Reviewed-by: Jamie Madill Commit-Queue: Jamie Madill Reviewed-by: Corentin Wallez --- src/tests/gl_tests/UniformTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/gl_tests/UniformTest.cpp b/src/tests/gl_tests/UniformTest.cpp index 1423b3d9f..c3ec72c5c 100644 --- a/src/tests/gl_tests/UniformTest.cpp +++ b/src/tests/gl_tests/UniformTest.cpp @@ -601,7 +601,7 @@ TEST_P(UniformTestES3, ReturnsOnlyOneArrayElement) " color = vec4(1, 0, 0, 1);\n" "}"; - GLuint mProgram = CompileProgram(vertexShader, fragmentShader); + mProgram = CompileProgram(vertexShader, fragmentShader); ASSERT_NE(0u, mProgram); glUseProgram(mProgram);