From 8e7454e5d77e38dd9bae283daf701af1047bf90c Mon Sep 17 00:00:00 2001 From: Thomas Herzog Date: Wed, 22 Aug 2018 18:20:18 +0200 Subject: enable hardware skeletons --- drivers/gles2/shaders/stdlib.glsl | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gles2/shaders/stdlib.glsl') 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); } -- cgit v1.2.3