From cf848982ed74eeaa97741dc4103555f5dcd02737 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 16 Jul 2023 12:42:47 +0530 Subject: [PATCH] DRYer The shader compiler automatically redeclares gl_ClipDistance for us, since we index it with constants. --- kitty/graphics_vertex.glsl | 1 - 1 file changed, 1 deletion(-) diff --git a/kitty/graphics_vertex.glsl b/kitty/graphics_vertex.glsl index 8d90131e0..336a8252b 100644 --- a/kitty/graphics_vertex.glsl +++ b/kitty/graphics_vertex.glsl @@ -1,5 +1,4 @@ out vec2 texcoord; -out float gl_ClipDistance[4]; uniform vec4 src_rect, dest_rect, viewport; #define left 0