diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 3d3bbb3104..9051f040fd 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -327,7 +327,7 @@ void SkGpuDevice::gainFocus(SkCanvas* canvas, const SkMatrix& matrix, convert_matrixclip(fContext, matrix, clipStack, clip, this->getOrigin()); if (fNeedClear) { - fContext->clear(0x0); + fContext->clear(NULL, 0x0); fNeedClear = false; } } @@ -596,7 +596,7 @@ private: /////////////////////////////////////////////////////////////////////////////// void SkGpuDevice::clear(SkColor color) { - fContext->clear(color); + fContext->clear(NULL, color); } void SkGpuDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { |