aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLFPTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SkSLFPTest.cpp')
-rw-r--r--tests/SkSLFPTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SkSLFPTest.cpp b/tests/SkSLFPTest.cpp
index a5a1a6ebeb..bf8e835bba 100644
--- a/tests/SkSLFPTest.cpp
+++ b/tests/SkSLFPTest.cpp
@@ -205,7 +205,7 @@ DEF_TEST(SkSLFPInUniform, r) {
"fColorVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kVec4f_GrSLType, "
"kDefault_GrSLPrecision, \"color\");",
"const SkRect colorValue = _outer.color();",
- "pdman.set4fv(fColorVar, 4, (float*) &colorValue);"
+ "pdman.set4fv(fColorVar, 1, (float*) &colorValue);"
});
}