summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders/stdlib.glsl
diff options
context:
space:
mode:
authorThomas Herzog <therzog@mail.de>2018-08-22 18:20:18 +0200
committerThomas Herzog <therzog@mail.de>2018-08-23 16:13:45 +0200
commit8e7454e5d77e38dd9bae283daf701af1047bf90c (patch)
treed92a184a5e5c9260f282c5644e40d75da0615055 /drivers/gles2/shaders/stdlib.glsl
parentd1497b720eb34da7797e5107c357f6ed17b37297 (diff)
enable hardware skeletons
Diffstat (limited to 'drivers/gles2/shaders/stdlib.glsl')
-rw-r--r--drivers/gles2/shaders/stdlib.glsl3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gles2/shaders/stdlib.glsl b/drivers/gles2/shaders/stdlib.glsl
index ebbdb96311..8b30e097e6 100644
--- a/drivers/gles2/shaders/stdlib.glsl
+++ b/drivers/gles2/shaders/stdlib.glsl
@@ -38,8 +38,5 @@ highp vec4 texel2DFetch(highp sampler2D tex, ivec2 size, ivec2 coord)
float x_coord = float(2 * coord.x + 1) / float(size.x * 2);
float y_coord = float(2 * coord.y + 1) / float(size.y * 2);
- x_coord = float(coord.x) / float(size.x);
- y_coord = float(coord.y) / float(size.y);
-
return texture2DLod(tex, vec2(x_coord, y_coord), 0.0);
}