| commit | 7f5875d33462f0f1b96a36ac530fb1f2edb1d535 | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 24 16:55:45 2011 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 24 16:55:45 2011 +0000 |
| tree | bbdd5a47de787bb3535316b094bdd4e12d10a195 | |
| parent | f6a7c1106e0b33e043a95c053d072fc6e9454a23 [diff] [blame] |
Fix direct-to-stencil clippath rendering logic in GrGpu. Review URL: http://codereview.appspot.com/4273104/ git-svn-id: http://skia.googlecode.com/svn/trunk@1001 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrPathRenderer.cpp b/gpu/src/GrPathRenderer.cpp index 6d7aabb..fc3c124 100644 --- a/gpu/src/GrPathRenderer.cpp +++ b/gpu/src/GrPathRenderer.cpp
@@ -294,7 +294,7 @@ bool GrDefaultPathRenderer::requiresStencilPass(const GrDrawTarget* target, GrPathIter* path, GrPathFill fill) const { - return single_pass_path(*target, *path, fill); + return !single_pass_path(*target, *path, fill); } void GrDefaultPathRenderer::drawPathHelper(GrDrawTarget* target,