Browse Source

fixme: naming in debayer is confusing.

Pavel Machek 10 months ago
parent
commit
875cd8dfcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/debayer.vert

+ 1 - 1
data/debayer.vert

@@ -18,7 +18,7 @@ main()
 {
     top_left_uv = tex_coord - pixel_size / 2.0;
     bottom_right_uv = tex_coord + pixel_size / 2.0;
-    top_right_uv = vec2(top_left_uv.x, bottom_right_uv.y);
+    top_right_uv = vec2(top_left_uv.x, bottom_right_uv.y); // FIXME: this is bottom right
     bottom_left_uv = vec2(bottom_right_uv.x, top_left_uv.y);
 
     gl_Position = vec4(transform * vec3(vert, 1), 1);