add cursor trail

This commit is contained in:
Rick Choi
2024-10-12 19:15:40 +09:00
parent b07d4059d3
commit c3eb48fc8a
9 changed files with 129 additions and 3 deletions

View File

@@ -27,9 +27,11 @@ from .fast_data_types import (
REVERSE,
STRIKETHROUGH,
TINT_PROGRAM,
TRAIL_PROGRAM,
compile_program,
get_options,
init_cell_program,
init_trail_program,
)
@@ -201,5 +203,8 @@ class LoadShaderPrograms:
program_for('tint').compile(TINT_PROGRAM, allow_recompile)
init_cell_program()
program_for('trail').compile(TRAIL_PROGRAM, allow_recompile)
init_trail_program()
load_shader_programs = LoadShaderPrograms()