toSpan() no longer needed previous PR that removed toSpan() forgot to update this file Diffs= b8ca8ded5 toSpan() no longer needed
diff --git a/.rive_head b/.rive_head index b0494da..75ce8b6 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -c1a6b2946685948fefae37ab17d74fcaea6d0d3f +b8ca8ded5ae71e0b4519d90e87a56bcb711e0576
diff --git a/tess/src/tess_render_path.cpp b/tess/src/tess_render_path.cpp index 5c8c851..5fa23db 100644 --- a/tess/src/tess_render_path.cpp +++ b/tess/src/tess_render_path.cpp
@@ -92,7 +92,7 @@ auto contours = Span(&contour, 1); m_earcut(contours); - containerPath->addTriangles(contour, toSpan(m_earcut.indices)); + containerPath->addTriangles(contour, m_earcut.indices); } } else { TESStesselator* tess = nullptr; @@ -125,7 +125,7 @@ } containerPath->addTriangles(Span(reinterpret_cast<const Vec2D*>(verts), nverts), - toSpan(indices)); + indices); } tessDeleteTess(tess); } @@ -162,4 +162,4 @@ stroke->extrude(&m_segmentedContour, m_isClosed, join, cap, strokeWidth); } -bool TessRenderPath::empty() const { return m_rawPath.empty(); } \ No newline at end of file +bool TessRenderPath::empty() const { return m_rawPath.empty(); }