From 3a4ba7e8340ac04e23857a8d8db384d75e88b988 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 12 Jan 2020 10:55:14 +0530 Subject: [PATCH] Remove un-needed variable --- kitty/cell_vertex.glsl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kitty/cell_vertex.glsl b/kitty/cell_vertex.glsl index 443260b5a..deb9eeff0 100644 --- a/kitty/cell_vertex.glsl +++ b/kitty/cell_vertex.glsl @@ -162,8 +162,7 @@ void main() { float cell_has_cursor = is_cursor(c, r); float is_block_cursor = step(float(cursor_fg_sprite_idx), 0.5); float cell_has_block_cursor = cell_has_cursor * is_block_cursor; - uint bg_as_uint = resolve_color(colors[bg_index], default_colors[bg_index]); - vec3 bg = color_to_vec(bg_as_uint); + vec3 bg = color_to_vec(resolve_color(colors[bg_index], default_colors[bg_index])); // }}} // Foreground {{{