aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-02 17:38:28 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-02 17:38:28 +0000
commitea5d8af9fb20096f350d2f313935ba37a592c160 (patch)
treef8f05a9802009a4cc71af88bd6e43f9150a6976a /src/gpu/SkGpuDevice.cpp
parentee5ea6b8e0ba8a6cd4581c941cc732864c7ad00c (diff)
Fix for 2 parallel gpu rendering issues (bigbitmaprect & image-surface)
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r--src/gpu/SkGpuDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 4a4259ef53..fd30c54a0f 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -616,7 +616,7 @@ inline bool skPaint2GrPaintShader(SkGpuDevice* dev,
///////////////////////////////////////////////////////////////////////////////
void SkGpuDevice::clear(SkColor color) {
- fContext->clear(NULL, color, fRenderTarget);
+ fContext->clear(NULL, SkColor2GrColor(color), fRenderTarget);
fNeedClear = false;
}