From 4bbb4b04459d15867f5ecab8b76d4b5c3d2f69cb Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 3 Feb 2018 03:32:03 +0900 Subject: [PATCH] graphics: Remove unneeded comments (#491) --- internal/graphics/shader.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/graphics/shader.go b/internal/graphics/shader.go index ab7a0c103..6a92dad1a 100644 --- a/internal/graphics/shader.go +++ b/internal/graphics/shader.go @@ -53,9 +53,6 @@ varying vec2 varying_tex_coord_max; void main(void) { varying_tex_coord = vec2(tex_coord[0], tex_coord[1]); - // varying_tex_coord_min and varying_tex_coord_max mean endmost texel values - // in the source rect. As varying_tex_coord is adjusted with minHighpValue - // in vertices.go, re-adjust them so that exact endmost texel values. varying_tex_coord_min = vec2(min(tex_coord[0], tex_coord[2]), min(tex_coord[1], tex_coord[3])); varying_tex_coord_max = vec2(max(tex_coord[0], tex_coord[2]), max(tex_coord[1], tex_coord[3])); gl_Position = projection_matrix * vec4(vertex, 0, 1);