From 42711478e1d85707aaae67c01fe49b76ec21f141 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sat, 26 Nov 2022 20:10:31 -0800 Subject: [PATCH] Fixes --- gamestate.c | 1 - hueshift.glsl | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gamestate.c b/gamestate.c index 67fc9fd..c8bcc00 100644 --- a/gamestate.c +++ b/gamestate.c @@ -2064,7 +2064,6 @@ void create_initial_world(GameState *gs) } #else - EntityID suns[] = {}; create_bomb_station(gs, (V2){-200.0f, 0.0f}, BoxExplosive); create_hard_shell_station(gs, (V2){0.0f, 400.0f}, BoxGyroscope); create_bomb_station(gs, (V2){0.0f, -150.0f}, BoxCloaking); diff --git a/hueshift.glsl b/hueshift.glsl index f523e2f..b2ee5a6 100644 --- a/hueshift.glsl +++ b/hueshift.glsl @@ -53,9 +53,10 @@ void main() { { hsv.y = 0.0f; } else { - float green_hue = 118.0f / 360.0f; + float green_hue = 118.0f / 360.0f; if(abs(hsv.r - green_hue) < 0.15) { hsv.x = target_hue; + } } fragColor = vec4(hsv2rgb(hsv), outColor.a); }