diff --git a/samples/cpp/convexhull.cpp b/samples/cpp/convexhull.cpp index c588289d73..418750b999 100644 --- a/samples/cpp/convexhull.cpp +++ b/samples/cpp/convexhull.cpp @@ -37,7 +37,7 @@ int main( int /*argc*/, char** /*argv*/ ) } vector hull; - convexHull(Mat(points), hull, CV_CLOCKWISE); + convexHull(Mat(points), hull, true); img = Scalar::all(0); for( i = 0; i < count; i++ )