Fix #22591: shader failed to compile when shadow enabled because of incompatible assignment of vec3 to a vec4.

This commit is contained in:
Jean-François Michaud 2018-10-03 12:46:39 -04:00
parent 344a453bb8
commit 700d5d26c9

View file

@ -1630,7 +1630,7 @@ FRAGMENT_SHADER_CODE
highp vec4 splane = shadow_coord;
float shadow_len = length(splane.xyz);
splane = normalize(splane.xyz);
splane.xyz = normalize(splane.xyz);
vec4 clamp_rect = light_clamp;