leak fix
This commit is contained in:
parent
6606665fe2
commit
2f8fbcd792
2 changed files with 1 additions and 1 deletions
|
@ -1086,7 +1086,7 @@ template computeCoverages(
|
|||
for (segment, winding) in partitions[partition]:
|
||||
if segment.at.y <= scanline.a.y and segment.to.y >= scanline.a.y:
|
||||
var at: Vec2
|
||||
if scanline.intersects(segment, at): # and segment.to != at:
|
||||
if scanline.intersects(segment, at) and segment.to != at:
|
||||
if numHits == hits.len:
|
||||
hits.setLen(hits.len * 2)
|
||||
hits[numHits] = (min(at.x, size.x), winding)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
Loading…
Reference in a new issue