From 4773f5034bf6ec2b0d977e970d38c394a71fa4f2 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 30 Mar 2021 14:02:59 -0600 Subject: [PATCH] Bump max path windings to 128 This eliminates artifacts while still seeming to work with anti-aliasing. --- gpui/src/platform/mac/shaders/shaders.metal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpui/src/platform/mac/shaders/shaders.metal b/gpui/src/platform/mac/shaders/shaders.metal index da807fef45..085ac53582 100644 --- a/gpui/src/platform/mac/shaders/shaders.metal +++ b/gpui/src/platform/mac/shaders/shaders.metal @@ -193,7 +193,7 @@ vertex SpriteFragmentInput sprite_vertex( }; } -#define MAX_WINDINGS 16. +#define MAX_WINDINGS 128. fragment float4 sprite_fragment( SpriteFragmentInput input [[stage_in]],