aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleAAGeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleAAGeometry.cpp')
-rw-r--r--samplecode/SampleAAGeometry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleAAGeometry.cpp b/samplecode/SampleAAGeometry.cpp
index 506b1bc0b7..875db26ca2 100644
--- a/samplecode/SampleAAGeometry.cpp
+++ b/samplecode/SampleAAGeometry.cpp
@@ -1219,8 +1219,8 @@ public:
draw_points(canvas, pts, 3);
} break;
case SkPath::kCubic_Verb: {
- SkScalar loopT;
- bool complex = SkDCubic::ComplexBreak(pts, &loopT);
+ SkScalar loopT[3];
+ int complex = SkDCubic::ComplexBreak(pts, loopT);
SkPath cPath;
cPath.moveTo(pts[0]);
cPath.cubicTo(pts[1], pts[2], pts[3]);