]> git.sesse.net Git - nageru/commitdiff
Deal with a Movit change.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Dec 2015 20:39:54 +0000 (21:39 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Dec 2015 20:39:54 +0000 (21:39 +0100)
mixer.cpp

index b6824d51ef3911034ac700d1a4a2295e3d57fa1b..384047a6b63b2df30f056b7daf0ec1d73dc98d37 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -159,7 +159,8 @@ Mixer::Mixer(const QSurfaceFormat &format, unsigned num_cards)
                "void main() { \n"
                "    gl_FragColor = texture2D(cbcr_tex, tc0); \n"
                "} \n";
-       cbcr_program_num = resource_pool->compile_glsl_program(cbcr_vert_shader, cbcr_frag_shader);
+       vector<string> frag_shader_outputs;
+       cbcr_program_num = resource_pool->compile_glsl_program(cbcr_vert_shader, cbcr_frag_shader, frag_shader_outputs);
 
        r128.init(2, OUTPUT_FREQUENCY);
        r128.integr_start();