Chromium Code Reviews| Index: src/core/SkGeometry.cpp |
| diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp |
| index 85ad39998328133f7cfa87dbbf620e9281c15fc6..b397241a1edac08641ff086bc4a0d19ac1a4113e 100644 |
| --- a/src/core/SkGeometry.cpp |
| +++ b/src/core/SkGeometry.cpp |
| @@ -1338,7 +1338,7 @@ struct SkP3D { |
| // we just return the middle 3 points, since the first and last are dups of src |
| // |
| -static void p3d_interp(const SkScalar src[3], SkScalar dst[3], SkScalar t) { |
| +static void p3d_interp(const SkScalar src[9], SkScalar dst[9], SkScalar t) { |
|
reed1
2014/01/28 13:20:36
Maybe they should be [7] ?
|
| SkScalar ab = SkScalarInterp(src[0], src[3], t); |
| SkScalar bc = SkScalarInterp(src[3], src[6], t); |
| dst[0] = ab; |