Remove unused code
This commit is contained in:
parent
00e3ea8c08
commit
adbce71fb4
@ -45,9 +45,7 @@ class CellProgram(ShaderProgram):
|
|||||||
|
|
||||||
|
|
||||||
def load_shader_programs():
|
def load_shader_programs():
|
||||||
vert, frag = load_shaders('cell')
|
cell = CellProgram(*load_shaders('cell'))
|
||||||
vert = vert.replace('STRIDE', str(DATA_CELL_SIZE))
|
|
||||||
cell = CellProgram(vert, frag)
|
|
||||||
cursor = ShaderProgram(*load_shaders('cursor'))
|
cursor = ShaderProgram(*load_shaders('cursor'))
|
||||||
cursor.vao_id = cursor.add_vertex_arrays()
|
cursor.vao_id = cursor.add_vertex_arrays()
|
||||||
return cell, cursor
|
return cell, cursor
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user