From: Steinar H. Gunderson Date: Mon, 23 Jan 2017 19:13:34 +0000 (+0100) Subject: Remove a FIXME; practical loopback testing showed this was right. X-Git-Tag: 1.5.0~65 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=5f93f8eceb49ab668ce4d60ca17dc9a43bdfc4fd Remove a FIXME; practical loopback testing showed this was right. --- 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);