Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index 6f2fee691320fffdc944063db0e279dae5ca34cd..993c754711ac472fd3bc49b6fd01ae578d520fd8 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -944,7 +944,7 @@ public: |
// We don't try to optimize for this case at all |
if (NULL == inputColor) { |
- builder->fsCodeAppendf("\t\tconst vec4 ones = %s;\n", GrGLSLOnesVecf(4)); |
+ builder->fsCodeAppendf("\t\tconst vec4 ones = vec4(1);\n"); |
inputColor = "ones"; |
} |
builder->fsCodeAppendf("\t\t// SkXfermode::Mode: %s\n", SkXfermode::ModeName(mode)); |