aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/debugger
diff options
context:
space:
mode:
authorGravatar ethannicholas <ethannicholas@google.com>2016-02-17 11:49:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-17 11:49:43 -0800
commitcecbbe2fa91d116d5c724ed9a1be9b6d82593e13 (patch)
tree88b6d69949e07d7a972344b6d521b47e5ebf6000 /tools/debugger
parentd9ec32090e95cebc7c1bb7c4fe29bef54629ef2c (diff)
converted skiaserve PNGs from RGBA to RGB
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/SkDebugCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp
index 9c0465d928..34e582e187 100644
--- a/tools/debugger/SkDebugCanvas.cpp
+++ b/tools/debugger/SkDebugCanvas.cpp
@@ -199,7 +199,7 @@ void SkDebugCanvas::drawTo(SkCanvas* canvas, int index) {
bool pathOpsMode = getAllowSimplifyClip();
canvas->setAllowSimplifyClip(pathOpsMode);
- canvas->clear(SK_ColorTRANSPARENT);
+ canvas->clear(SK_ColorWHITE);
canvas->resetMatrix();
if (!windowRect.isEmpty()) {
canvas->clipRect(windowRect, SkRegion::kReplace_Op);