Browse Source

remove half_texpixel in canvas since no longer used

Juan Linietsky 7 years ago
parent
commit
7eabbeb5af
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/gles3/shaders/canvas.glsl

+ 0 - 1
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));
 	}