diff options
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index fd30c54a0f..14eeace563 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1456,10 +1456,8 @@ void apply_effect(GrContext* context, GrContext::AutoRenderTarget art(context, dstTexture->asRenderTarget()); GrContext::AutoClip acs(context, rect); - SkMatrix sampleM; - sampleM.setIDiv(srcTexture->width(), srcTexture->height()); GrPaint paint; - paint.colorStage(0)->setEffect(effect, sampleM); + paint.colorStage(0)->setEffect(effect); context->drawRect(paint, rect); } |