Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index d2781dbe41d70e1039c88b09f642d1e89c2b84d6..9d6600fe2f36b3932ccd03f8453b1c7cb3d1117b 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -1121,9 +1121,10 @@ static sk_sp<GrTexture> find_or_create_rrect_blur_mask(GrContext* context, |
sk_sp<GrTexture> mask(context->textureProvider()->findAndRefTextureByUniqueKey(key)); |
if (!mask) { |
// TODO: this could be approx but the texture coords will need to be updated |
- sk_sp<GrDrawContext> dc(context->makeDrawContext(SkBackingFit::kExact, |
- size.fWidth, size.fHeight, |
- kAlpha_8_GrPixelConfig, nullptr)); |
+ sk_sp<GrDrawContext> dc(context->makeDrawContextWithFallback(SkBackingFit::kExact, |
+ size.fWidth, size.fHeight, |
+ kAlpha_8_GrPixelConfig, |
+ nullptr)); |
if (!dc) { |
return nullptr; |
} |