diff options
author | 2012-06-21 20:15:48 +0000 | |
---|---|---|
committer | 2012-06-21 20:15:48 +0000 | |
commit | c82a8b7aa4ec19fba508c394920a9e88d3e5bd12 (patch) | |
tree | b7773177447a50269e9c11de2d12774d7fc9573a /src/gpu/SkGpuDevice.cpp | |
parent | 7aa876bfbf0cf6f2a9d19bd4669ae50658f20821 (diff) |
Fixed two bugs in SW-only clip mask generation
http://codereview.appspot.com/6306086/
git-svn-id: http://skia.googlecode.com/svn/trunk@4290 2bbb7eff-a529-9590-31e7-b0007b416f81
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 628adc4c96..3ce70d15f4 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -592,10 +592,8 @@ inline bool skPaint2GrPaintShader(SkGpuDevice* dev, } /////////////////////////////////////////////////////////////////////////////// - void SkGpuDevice::clear(SkColor color) { - fContext->setRenderTarget(fRenderTarget); - fContext->clear(NULL, color); + fContext->clear(NULL, color, fRenderTarget); } void SkGpuDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { |