From adbce71fb41e1ff7106c22e7089e6f8fc20f4e29 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 22 Aug 2017 18:04:40 +0530 Subject: [PATCH] Remove unused code --- kitty/char_grid.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kitty/char_grid.py b/kitty/char_grid.py index 7d3b9dfb3..9dff39db1 100644 --- a/kitty/char_grid.py +++ b/kitty/char_grid.py @@ -45,9 +45,7 @@ class CellProgram(ShaderProgram): def load_shader_programs(): - vert, frag = load_shaders('cell') - vert = vert.replace('STRIDE', str(DATA_CELL_SIZE)) - cell = CellProgram(vert, frag) + cell = CellProgram(*load_shaders('cell')) cursor = ShaderProgram(*load_shaders('cursor')) cursor.vao_id = cursor.add_vertex_arrays() return cell, cursor