diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-13 14:49:09 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-13 14:49:09 +0000 |
commit | 8b58c4d29773bf8f3d522daa6bde63953c11405f (patch) | |
tree | cbef8ccb5116b0eb7c821ef5c0788a38e66355a8 | |
parent | 96399948dc2f1afd2e9d9e5be7d646c01d17f82b (diff) |
path effect on a very thin line should not be discarded
Review URL: http://codereview.appspot.com/5649069/
git-svn-id: http://skia.googlecode.com/svn/trunk@3171 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index da97fde820..94ac5d2cba 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1118,8 +1118,8 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath, // at this point we're done with prePathMatrix SkDEBUGCODE(prePathMatrix = (const SkMatrix*)0x50FF8001;) - if (doFill && (paint.getPathEffect() || - paint.getStyle() != SkPaint::kFill_Style)) { + if (paint.getPathEffect() || + (doFill && paint.getStyle() != SkPaint::kFill_Style)) { // it is safe to use tmpPath here, even if we already used it for the // prepathmatrix, since getFillPath can take the same object for its // input and output safely. |