Index: src/gpu/SkGpuDevice.cpp |
=================================================================== |
--- src/gpu/SkGpuDevice.cpp (revision 12054) |
+++ src/gpu/SkGpuDevice.cpp (working copy) |
@@ -548,7 +548,7 @@ |
void SkGpuDevice::clear(SkColor color) { |
SkIRect rect = SkIRect::MakeWH(this->width(), this->height()); |
- fContext->clear(&rect, SkColor2GrColor(color), fRenderTarget); |
+ fContext->clear(&rect, SkColor2GrColor(color), true, fRenderTarget); |
fNeedClear = false; |
} |
@@ -822,7 +822,7 @@ |
GrContext::AutoRenderTarget art(context, maskTexture->asRenderTarget()); |
GrContext::AutoClip ac(context, clipRect); |
- context->clear(NULL, 0x0); |
+ context->clear(NULL, 0x0, true); |
GrPaint tempPaint; |
if (doAA) { |