Fix inverse test for GrDFAAPR::onCanDrawPath
authorbsalomon <bsalomon@google.com>
Mon, 27 Jun 2016 18:08:43 +0000 (11:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Jun 2016 18:08:43 +0000 (11:08 -0700)
TBR=egdaniel@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2105443002

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

src/gpu/batches/GrAADistanceFieldPathRenderer.cpp

index 8aaabbc229d4ef205bc66a9071647645e93caad8..b178a68107965ba1e0fbca8e5fd18d14cc33ea6b 100644 (file)
@@ -97,7 +97,7 @@ bool GrAADistanceFieldPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) c
         return false;
     }
     // TODO: Support inverse fill
-    if (!args.fShape->inverseFilled()) {
+    if (args.fShape->inverseFilled()) {
         return false;
     }
     // currently don't support perspective