summaryrefslogtreecommitdiff
path: root/src/shaders/unlit.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-14 20:54:35 +0800
committerchai <chaifix@163.com>2020-07-14 20:54:35 +0800
commitb0235d7a0bac4994da7102887ec0ba1cd613769f (patch)
treed7315b8e99b8781e95cf9cbf016f10c989ce7afb /src/shaders/unlit.c
parentefe7768e5b65022b2dd418feff017b97012a6b24 (diff)
*misc
Diffstat (limited to 'src/shaders/unlit.c')
-rw-r--r--src/shaders/unlit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shaders/unlit.c b/src/shaders/unlit.c
index 5e1b1c1..0b92c8c 100644
--- a/src/shaders/unlit.c
+++ b/src/shaders/unlit.c
@@ -22,7 +22,7 @@ static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoor
*reg_num_00 = 1 - internal_vec3_dot(&worldnormal, light);
}
-static bool frag(UniformCollection* uniforms, FragmentShaderIn* in, Color32* color) {
+static bool frag(UniformCollection* uniforms, Color32* color) {
internal_vec3_normalize(light, light);
return 1;
}