diff options
Diffstat (limited to 'src/core/SkPictureShader.h')
-rw-r--r-- | src/core/SkPictureShader.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/SkPictureShader.h b/src/core/SkPictureShader.h index 31a60fd9e2..6249e41e37 100644 --- a/src/core/SkPictureShader.h +++ b/src/core/SkPictureShader.h @@ -30,9 +30,10 @@ public: SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPictureShader) - bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM, const SkMatrix*, - GrColor*, GrProcessorDataManager*, - GrFragmentProcessor**) const override; +#if SK_SUPPORT_GPU + const GrFragmentProcessor* asFragmentProcessor(GrContext*, const SkMatrix& viewM, + const SkMatrix*, SkFilterQuality, GrProcessorDataManager*) const override; +#endif protected: SkPictureShader(SkReadBuffer&); |