aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r--src/gpu/SkGpuDevice.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 4f2d7c48c1..e182f10199 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -472,10 +472,6 @@ bool SkGpuDevice::skPaint2GrPaintShader(const SkPaint& skPaint,
return false;
}
- SkPaint noAlphaPaint(skPaint);
- noAlphaPaint.setAlpha(255);
- shader->setContext(this->accessBitmap(false), noAlphaPaint, ctm);
-
SkBitmap bitmap;
SkMatrix matrix;
SkShader::TileMode tileModes[2];