Index: src/core/SkImageFilterUtils.cpp |
diff --git a/src/core/SkImageFilterUtils.cpp b/src/core/SkImageFilterUtils.cpp |
index a59cf7bbbdb3c1da09d8209984f893a5fb40e4ea..92fe67e84c05e95452567bf685d6c4236140ade0 100644 |
--- a/src/core/SkImageFilterUtils.cpp |
+++ b/src/core/SkImageFilterUtils.cpp |
@@ -35,6 +35,7 @@ bool SkImageFilterUtils::GetInputResultGPU(SkImageFilter* filter, SkImageFilter: |
GrContext* context = src.getTexture()->getContext(); |
GrContext::AutoWideOpenIdentityDraw awoid(context, NULL); |
if (!filter) { |
+ offset->fX = offset->fY = 0; |
*result = src; |
return true; |
} else if (filter->canFilterImageGPU()) { |