aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-06-27 11:08:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-27 11:08:43 -0700
commitdb7979a24c4db3a287f435144db7a3276df6ba38 (patch)
tree80327a0fc5010249ed4541d1cc153414c0e8ccf7 /src/gpu/batches
parent728b0f750570ada198bde4c5b4605bc1902de1d4 (diff)
Fix inverse test for GrDFAAPR::onCanDrawPath
Diffstat (limited to 'src/gpu/batches')
-rw-r--r--src/gpu/batches/GrAADistanceFieldPathRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
index 8aaabbc229..b178a68107 100644
--- a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
+++ b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
@@ -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