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 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) { |