diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-18 16:33:31 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-18 16:33:31 -0300 |
commit | a5cbfbbcbbc8bc2dabc7ab166c09d116861f3cfd (patch) | |
tree | 41084fb9fdd29c12f2e6f3f52412cb24fd7dfb69 /drivers/gles2/shaders | |
parent | 170a9349d2f1b07d4562ac0992a0da59b9a28088 (diff) |
-fixed relative path saving to file, fixes #1694
Diffstat (limited to 'drivers/gles2/shaders')
-rw-r--r-- | drivers/gles2/shaders/canvas.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl index c4f0847870..65e40f069b 100644 --- a/drivers/gles2/shaders/canvas.glsl +++ b/drivers/gles2/shaders/canvas.glsl @@ -296,7 +296,7 @@ LIGHT_SHADER_CODE } - highp vec4 s = shadow_matrix * highp vec4(point,0.0,1.0); + highp vec4 s = shadow_matrix * vec4(point,0.0,1.0); s.xyz/=s.w; su=s.x*0.5+0.5; sz=s.z*0.5+0.5; |