diff options
Diffstat (limited to 'src/effects/GrAlphaThresholdFragmentProcessor.h')
-rw-r--r-- | src/effects/GrAlphaThresholdFragmentProcessor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.h b/src/effects/GrAlphaThresholdFragmentProcessor.h index 2dd18e807a..fa7a760e23 100644 --- a/src/effects/GrAlphaThresholdFragmentProcessor.h +++ b/src/effects/GrAlphaThresholdFragmentProcessor.h @@ -37,7 +37,7 @@ public: static sk_sp<GrFragmentProcessor> Make(GrContext* context, sk_sp<GrTextureProxy> proxy, sk_sp<GrColorSpaceXform> colorSpaceXform, - GrTexture* maskTexture, + sk_sp<GrTextureProxy> maskProxy, float innerThreshold, float outerThreshold, const SkIRect& bounds) { @@ -45,7 +45,7 @@ public: context, std::move(proxy), std::move(colorSpaceXform), - maskTexture, + std::move(maskProxy), innerThreshold, outerThreshold, bounds)); } @@ -70,7 +70,7 @@ private: GrAlphaThresholdFragmentProcessor(GrContext*, sk_sp<GrTextureProxy> proxy, sk_sp<GrColorSpaceXform> colorSpaceXform, - GrTexture* maskTexture, + sk_sp<GrTextureProxy> maskProxy, float innerThreshold, float outerThreshold, const SkIRect& bounds); |