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