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
This commit is contained in:
parent
96399948dc
commit
8b58c4d297
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user