summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-03 20:24:30 +0200
committerGitHub <noreply@github.com>2018-10-03 20:24:30 +0200
commit05fe3121806b66f42e035968560b0fc881c1048d (patch)
tree04640b151d8f26dc48dc2a5efce211b179bc3c07 /drivers
parentfdd6950fc12689c841e37b975466635ba7ae9781 (diff)
parent700d5d26c9cef6183c72a2ac3b5ac4e5d6f9e3f5 (diff)
Merge pull request #22690 from jfmichaud31/fix_gles2_shader
Fix #22591: shader error when shadow enabled
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles2/shaders/scene.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl
index b9e2806ac3..fae010b003 100644
--- a/drivers/gles2/shaders/scene.glsl
+++ b/drivers/gles2/shaders/scene.glsl
@@ -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;