Skip to content

Commit

Permalink
Update triangulate.c
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Nov 6, 2023
1 parent 36d2025 commit 32f54c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mesh/triangulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ ak_meshTriangulatePoly(AkPolygon * __restrict poly) {
/* no need to this info anymore, save space! */
ak_free(poly->vcount);
poly->vcount = NULL;
poly->base.count = trianglec;

return trianglec;
}
Expand Down

0 comments on commit 32f54c8

Please sign in to comment.