From 5f93f8eceb49ab668ce4d60ca17dc9a43bdfc4fd Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 23 Jan 2017 20:13:34 +0100 Subject: [PATCH] Remove a FIXME; practical loopback testing showed this was right. --- chroma_subsampler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroma_subsampler.cpp b/chroma_subsampler.cpp index a336005..63be1a9 100644 --- a/chroma_subsampler.cpp +++ b/chroma_subsampler.cpp @@ -146,7 +146,7 @@ ChromaSubsampler::ChromaSubsampler(ResourcePool *resource_pool) " vec2 cbcr0 = texture(cbcr_tex, cbcr_tc0).rg; \n" " vec2 cbcr1 = texture(cbcr_tex, cbcr_tc1).rg; \n" " vec2 cbcr = 0.5 * (cbcr0 + cbcr1); \n" - " FragColor = vec4(cbcr.g, y0, cbcr.r, y1); \n" // FIXME: swap y0 and y1? + " FragColor = vec4(cbcr.g, y0, cbcr.r, y1); \n" "} \n"; uyvy_program_num = resource_pool->compile_glsl_program(uyvy_vert_shader, uyvy_frag_shader, frag_shader_outputs); -- 2.39.2