aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-09-14 07:04:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-14 07:04:49 -0700
commitc20c0c09254a4f77dfa9094a4e820a85e0c8121d (patch)
tree62940ecce88dbafd9f19a6a8b772ac025fe25ac0 /gm
parent6ef6999017febaf0039b83c1ff4da1efe9c0e85d (diff)
Switch default for SkGaussianBlurShader radius size.
One step towards removing the 6.2 radius entirely. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2333403002 TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2333403002
Diffstat (limited to 'gm')
-rw-r--r--gm/reveal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/reveal.cpp b/gm/reveal.cpp
index d22ba4a6bf..ed54f91c65 100644
--- a/gm/reveal.cpp
+++ b/gm/reveal.cpp
@@ -348,7 +348,7 @@ protected:
SkPaint paint;
paint.setAntiAlias(true);
// G channel is an F6.2 radius
- paint.setColor(SkColorSetARGB(255, 255, (unsigned char)(4*kPad), 0));
+ paint.setColor(SkColorSetARGB(255, 0, (unsigned char)(4*kPad), 0));
paint.setShader(SkGaussianEdgeShader::Make());
drawObj->draw(canvas, paint);
canvas->restore();