diff options
Diffstat (limited to 'tests/SkSLFPTest.cpp')
-rw-r--r-- | tests/SkSLFPTest.cpp | 2 |
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);" }); } |