Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index fb8bbacdc17c17f49cb7f5b5a9e09e379c27df03..c90adfeca09a6617a714cd43d35a91c30464b994 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -951,7 +951,7 @@ void GrGLGradientEffect::emitColor(GrGLShaderBuilder* builder, |
} |
builder->fsCodeAppendf("\t%s = %s;\n", outputColor, |
- (GrGLSLExpr<4>(inputColor) * GrGLSLExpr<4>("colorTemp")).c_str()); |
+ (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); |
} else if (GrGradientEffect::kThree_ColorType == ColorTypeFromKey(key)){ |
builder->fsCodeAppendf("\tfloat oneMinus2t = 1.0 - (2.0 * (%s));\n", |
gradientTValue); |
@@ -975,7 +975,7 @@ void GrGLGradientEffect::emitColor(GrGLShaderBuilder* builder, |
} |
builder->fsCodeAppendf("\t%s = %s;\n", outputColor, |
- (GrGLSLExpr<4>(inputColor) * GrGLSLExpr<4>("colorTemp")).c_str()); |
+ (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); |
} else { |
builder->fsCodeAppendf("\tvec2 coord = vec2(%s, %s);\n", |
gradientTValue, |