Init path color in distance field path renderer test
authorbsalomon <bsalomon@google.com>
Thu, 21 Jul 2016 15:31:21 +0000 (08:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 Jul 2016 15:31:21 +0000 (08:31 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164313002
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true

TBR=egdaniel@google.com

Review-Url: https://codereview.chromium.org/2164313002

tests/DFPathRendererTest.cpp

index 9613a8c78ace17b24e97c4089185cb85c1eff200..98274b2d7a1f037d6472a3001a7dfe6400c2c02b 100644 (file)
@@ -52,6 +52,7 @@ static void test_far_from_origin(GrDrawContext* drawContext, GrPathRenderer* pr,
     args.fShape = &shape;
     args.fAntiAlias = true;
     args.fGammaCorrect = false;
+    args.fColor = 0x0;
     pr->drawPath(args);
 }