aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 21:00:02 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 21:00:02 +0000
commit31a5840ac8cf83b9453f3937a02101661cc8fc7f (patch)
tree3fcd12952f61ed25a7d7c1cec67ad4e7607bddbf /src/gpu
parent6aa25c3f555dc2a6711365d14279db3ec909e064 (diff)
Accidentally omitted this file from r1203, :(
git-svn-id: http://skia.googlecode.com/svn/trunk@1204 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/SkGpuDevice.cpp4
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) {