summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/canvas.glsl
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-12-19 14:50:57 -0300
committerGitHub <noreply@github.com>2017-12-19 14:50:57 -0300
commit0a6a0086d87cc0cca19155a49c3157c8dbce1dab (patch)
treecd76778dbd987f19f863a93e76d2cf31c1c92ce6 /drivers/gles3/shaders/canvas.glsl
parentf66507e072e7dc80a1e69ce1bac73bdcd780b626 (diff)
parentffe827ab5a25ee033dbea2374fd93b84bebc0788 (diff)
Merge pull request #14834 from guilhermefelipecgs/fix_pixel_snap
Fix pixel snap not being used in 3.0
Diffstat (limited to 'drivers/gles3/shaders/canvas.glsl')
-rw-r--r--drivers/gles3/shaders/canvas.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl
index 4bbb18ce42..0b8230234b 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -171,7 +171,7 @@ VERTEX_SHADER_CODE
#ifdef USE_PIXEL_SNAP
- outvec.xy=floor(outvec+0.5);
+ outvec.xy=floor(outvec+0.5).xy;
#endif