From b25daa0de7060b5f6cc38b60dfe51f19a4b077b4 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Mon, 25 Jan 2021 10:15:04 -0600 Subject: [PATCH] remove break --- src/pixie/paths.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index e6c9686..1f89d77 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -908,7 +908,6 @@ proc fillShapes( mm_storeu_si128(image.data[index].addr, blendNormalSimd(backdrop, source)) x += 4 - break while x < image.width: if x + 2 <= coverages.len: @@ -927,7 +926,7 @@ proc fillShapes( image.setRgbaUnsafe(x, y, blendNormal(backdrop, source)) inc x -proc parseSomePath(path: SomePath): seq[seq[Segment]] = +proc parseSomePath(path: SomePath): seq[seq[Segment]] {.inline.} = when type(path) is string: parsePath(path).commandsToShapes() elif type(path) is Path: