Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index c9f1fb02c3a17d49c841ee69dcf38a6f29d75541..eff1645d27d01d0755dbfc278eef049030658e48 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -120,7 +120,7 @@ public: |
const TransformedCoordsArray&, |
const TextureSamplerArray&) SK_OVERRIDE { |
if (NULL == inputColor) { |
- inputColor = GrGLSLOnesVecf(4); |
+ inputColor = "vec4(1)"; |
} |
// The max() is to guard against 0 / 0 during unpremul when the incoming color is |