Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index b6f8b55a164164b1832653b258a4fecf56643192..9366ebafa8169ba1c6ef5dbef16fa39a6e9da826 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -256,8 +256,6 @@ bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Cont |
if (!dst) { |
return false; |
} |
- GrContext::AutoMatrix am; |
- am.setIdentity(context); |
GrContext::AutoRenderTarget art(context, dst->asRenderTarget()); |
GrContext::AutoClip acs(context, dstRect); |
GrFragmentProcessor* fp; |
@@ -270,7 +268,7 @@ bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Cont |
SkASSERT(fp); |
GrPaint paint; |
paint.addColorProcessor(fp)->unref(); |
- context->drawRectToRect(paint, dstRect, srcRect); |
+ context->drawRectToRect(paint, SkMatrix::I(), dstRect, srcRect); |
WrapTexture(dst, bounds.width(), bounds.height(), result); |
return true; |