Skip to content

Commit

Permalink
Reset path scanner on error
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Jan 18, 2024
1 parent 9a76df9 commit b3cae2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/vger/vger.mm
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ void vgerTextBoxBounds(vgerContext vg, const char* str, float breakRowWidth, flo

// Bad fill.
if (++fillPrimCount >= MaxFillPrims) {
yScanner = vgerPathScanner();
return false;
}
}
Expand Down

0 comments on commit b3cae2e

Please sign in to comment.