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