Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 32609b8b79ba1c784aa34ea1253f6a9c2c49aa5a..4dcc05e904b2d661b042d3ec6b2fe9e777d112e0 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -280,6 +280,9 @@ bool SkBlurImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const |
true, |
sigma.x(), |
sigma.y())); |
+ if (!tex) { |
+ return false; |
+ } |
WrapTexture(tex, rect.width(), rect.height(), result); |
return true; |
#else |