| Index: src/effects/SkColorMatrixFilter.cpp
|
| diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp
|
| index 8549fd72e12a719a3f94713218defa1b77dfb930..e4d9f52aab40fd62969b8c9f44b2e3cfb1a4e36c 100644
|
| --- a/src/effects/SkColorMatrixFilter.cpp
|
| +++ b/src/effects/SkColorMatrixFilter.cpp
|
| @@ -361,7 +361,7 @@ public:
|
| : INHERITED(factory) {
|
| }
|
|
|
| - virtual void emitCode(GrGLProgramBuilder* builder,
|
| + virtual void emitCode(GrGLFPBuilder* builder,
|
| const GrFragmentProcessor&,
|
| const GrProcessorKey&,
|
| const char* outputColor,
|
| @@ -379,7 +379,7 @@ public:
|
| // could optimize this case, but we aren't for now.
|
| inputColor = "vec4(1)";
|
| }
|
| - GrGLFragmentShaderBuilder* fsBuilder = builder->getFragmentShaderBuilder();
|
| + GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder();
|
| // The max() is to guard against 0 / 0 during unpremul when the incoming color is
|
| // transparent black.
|
| fsBuilder->codeAppendf("\tfloat nonZeroAlpha = max(%s.a, 0.00001);\n", inputColor);
|
|
|