summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-12 08:29:28 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-12 08:29:28 -0300
commit7eabbeb5af3ded3e291afc3d743082429e532d86 (patch)
tree1da3938c1ff9460e0009b656156abcde6617f898 /drivers/gles3
parent46bbe3a541449416d6282b344a4a32e3805b36ec (diff)
remove half_texpixel in canvas since no longer used
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 eefa15213c..4bbb18ce42 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -381,7 +381,6 @@ void main() {
if (clip_rect_uv) {
- vec2 half_texpixel = color_texpixel_size * 0.5;
uv = clamp(uv,src_rect.xy,src_rect.xy+abs(src_rect.zw));
}