summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-18 16:33:31 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-18 16:33:31 -0300
commita5cbfbbcbbc8bc2dabc7ab166c09d116861f3cfd (patch)
tree41084fb9fdd29c12f2e6f3f52412cb24fd7dfb69 /drivers/gles2/shaders
parent170a9349d2f1b07d4562ac0992a0da59b9a28088 (diff)
-fixed relative path saving to file, fixes #1694
Diffstat (limited to 'drivers/gles2/shaders')
-rw-r--r--drivers/gles2/shaders/canvas.glsl2
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;