Accidentally omitted this file from r1203, :(
git-svn-id: http://skia.googlecode.com/svn/trunk@1204 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 3d3bbb3..9051f04 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -327,7 +327,7 @@
convert_matrixclip(fContext, matrix, clipStack, clip, this->getOrigin());
if (fNeedClear) {
- fContext->clear(0x0);
+ fContext->clear(NULL, 0x0);
fNeedClear = false;
}
}
@@ -596,7 +596,7 @@
///////////////////////////////////////////////////////////////////////////////
void SkGpuDevice::clear(SkColor color) {
- fContext->clear(color);
+ fContext->clear(NULL, color);
}
void SkGpuDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {