diff options
-rw-r--r-- | chickadee/graphics/path.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/graphics/path.scm b/chickadee/graphics/path.scm index f6bfcdb..e2952dd 100644 --- a/chickadee/graphics/path.scm +++ b/chickadee/graphics/path.scm @@ -1250,7 +1250,7 @@ (uniform int stroke-cap) (uniform float stroke-miter-limit)) (if (<= (-> color w) 0.0) - (outputs) + (discard) (let* ((infinity (/ 1.0 0.0)) (hw (/ stroke-width 2.0)) (u (-> frag-tex x)) @@ -1323,7 +1323,7 @@ 0.0 1.0))) (mix color end-color t))))) (if (<= (-> color w) 0.0) - (outputs) + (discard) (outputs (frag-color (case mode |