remove break
This commit is contained in:
parent
4a2dbb5c49
commit
b25daa0de7
1 changed files with 1 additions and 2 deletions
|
@ -908,7 +908,6 @@ proc fillShapes(
|
||||||
mm_storeu_si128(image.data[index].addr, blendNormalSimd(backdrop, source))
|
mm_storeu_si128(image.data[index].addr, blendNormalSimd(backdrop, source))
|
||||||
|
|
||||||
x += 4
|
x += 4
|
||||||
break
|
|
||||||
|
|
||||||
while x < image.width:
|
while x < image.width:
|
||||||
if x + 2 <= coverages.len:
|
if x + 2 <= coverages.len:
|
||||||
|
@ -927,7 +926,7 @@ proc fillShapes(
|
||||||
image.setRgbaUnsafe(x, y, blendNormal(backdrop, source))
|
image.setRgbaUnsafe(x, y, blendNormal(backdrop, source))
|
||||||
inc x
|
inc x
|
||||||
|
|
||||||
proc parseSomePath(path: SomePath): seq[seq[Segment]] =
|
proc parseSomePath(path: SomePath): seq[seq[Segment]] {.inline.} =
|
||||||
when type(path) is string:
|
when type(path) is string:
|
||||||
parsePath(path).commandsToShapes()
|
parsePath(path).commandsToShapes()
|
||||||
elif type(path) is Path:
|
elif type(path) is Path:
|
||||||
|
|
Loading…
Reference in a new issue