From f615f8cfa84b5c57ba37e4c20657eccc3dbdcb1c Mon Sep 17 00:00:00 2001 From: Passthem <514827965@qq.com> Date: Mon, 14 Apr 2025 16:31:35 +0800 Subject: [PATCH] e1 --- src/shader.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shader.c b/src/shader.c index 92225b4..e2f4166 100644 --- a/src/shader.c +++ b/src/shader.c @@ -14,7 +14,8 @@ Color shader(Status* status) { switch (status->mode) { case LIGHT_MODE_RAINBOW: return hsv_to_color(status->time * 120 + status->index * 6, 1, 1); - } - return hex_to_color(0xFFFFFF); + default: + return hex_to_color(0xFFFFFF); + } } \ No newline at end of file