summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-02 15:53:24 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-10-02 15:53:24 +0200
commitac2a4771d51a73cb3da2e54af4ef277538b2499a (patch)
tree6267e4bd7f8ff9221524da4bbf4e128371b8388d /drivers/gles3
parent9c93a401b9aadbc34354cc0246b90b7afa98f47c (diff)
GLES2: Implement pixel snap 2D option
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/shaders/canvas.glsl1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl
index 5203f53fa2..8e8b693eb2 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -182,7 +182,6 @@ VERTEX_SHADER_CODE
color_interp = color;
#ifdef USE_PIXEL_SNAP
-
outvec.xy = floor(outvec + 0.5).xy;
#endif