mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
Remove unused code
This commit is contained in:
parent
00e3ea8c08
commit
adbce71fb4
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue