Index: src/effects/SkLumaXfermode.cpp |
diff --git a/src/effects/SkLumaXfermode.cpp b/src/effects/SkLumaXfermode.cpp |
index 3ecb0bec4a934d6a477f84010e49a2398fe8b9c1..aa3d780aa06ffa97ae8f3a4c85e7caf4cefc712c 100644 |
--- a/src/effects/SkLumaXfermode.cpp |
+++ b/src/effects/SkLumaXfermode.cpp |
@@ -214,7 +214,7 @@ void GrGLLumaMaskEffect::emitCode(GrGLShaderBuilder* builder, |
const char* dstColor = builder->dstColor(); |
SkASSERT(NULL != dstColor); |
if (NULL == inputColor) { |
- inputColor = GrGLSLOnesVecf(4); |
+ inputColor = "vec4(1)"; |
} |
const char *opA = lumaOpA<char>(lumaEffect.getMode(), inputColor, dstColor); |