]> git.sesse.net Git - movit/blobdiff - effect.cpp
Allow an effect to have multiple inputs (although the graph still supports only one...
[movit] / effect.cpp
index 7f8dda2de1d76a1a57ec54bf06b10191bec62805..1aa37781525f1f7454f656e0c05161ddce9f82e1 100644 (file)
@@ -170,9 +170,9 @@ void Effect::invalidate_1d_texture(const std::string &key)
        params_tex_1d[key].needs_update = true;
 }
 
-void Effect::add_self_to_effect_chain(EffectChain *chain, Effect *input)
+void Effect::add_self_to_effect_chain(EffectChain *chain, const std::vector<Effect *> &inputs)
 {
-       chain->add_effect_raw(this, input);
+       chain->add_effect_raw(this, inputs);
 }
 
 // Output convenience uniforms for each parameter.