move trail color decision logic to shader.c

This commit is contained in:
Rick Choi
2024-10-19 17:25:30 +09:00
parent f64d2d27fb
commit 85bc56b813
3 changed files with 8 additions and 9 deletions

View File

@@ -218,7 +218,7 @@ typedef struct {
typedef struct {
bool needs_render;
monotonic_t updated_at;
color_type color;
Screen* screen;
float corner_x[4];
float corner_y[4];
float cursor_edge_x[2];