From 741e719ff8201087b206a91e9a38ebe7d9e82365 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 5 Jun 2019 17:49:22 +0200 Subject: [PATCH] Remove unused function Searching for `color_as_vec3` yielded no results in the entire project but I encourage you to verify that this function is really not used anywhere. --- kitty/window.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kitty/window.py b/kitty/window.py index a7ff4b234..ddd1d5df3 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -60,9 +60,6 @@ def load_shader_programs(semi_transparent=False): compile_program(BLIT_PROGRAM, *load_shaders('blit')) v, f = load_shaders('cell') - def color_as_vec3(x): - return 'vec3({}, {}, {})'.format(x.red / 255, x.green / 255, x.blue / 255) - for which, p in { 'SIMPLE': CELL_PROGRAM, 'BACKGROUND': CELL_BG_PROGRAM,