fix exceeds_dist: don't double the loop counter (the caller has done that)
git-svn-id: http://skia.googlecode.com/svn/trunk@1731 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d935cfbd79
commit
3aaf6a0c87
@ -1198,7 +1198,6 @@ static bool exceeds_dist(const SkScalar p[], const SkScalar q[], SkScalar dist,
|
||||
int count) {
|
||||
SkASSERT(dist > 0);
|
||||
|
||||
count *= 2;
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (SkScalarAbs(p[i] - q[i]) > dist) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user