Fix assert
https://codereview.appspot.com/7234050/ git-svn-id: http://skia.googlecode.com/svn/trunk@7428 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
75847199c2
commit
68f670fa72
@ -148,7 +148,7 @@ static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec,
|
||||
intervalLength);
|
||||
}
|
||||
|
||||
SkASSERT(maxX > minX);
|
||||
SkASSERT(maxX >= minX);
|
||||
if (dx < 0) {
|
||||
SkTSwap(minX, maxX);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user