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/GrStencil.cpp b/gpu/src/GrStencil.cpp index a1c8c09..c366f61 100644 --- a/gpu/src/GrStencil.cpp +++ b/gpu/src/GrStencil.cpp
@@ -249,7 +249,7 @@ bool invertedFill, int* numPasses, GrStencilSettings settings[kMaxStencilClipPasses]) { - if (canBeDirect) { + if (canBeDirect && !invertedFill) { *numPasses = 0; switch (op) { case kReplace_SetOp: