X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;h=9aa092ba207db4f614abfe5f45617c0eff3f3849;hp=114670c913d304daedcdc48acbbdaec24246b1ef;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hpb=9651a4eaae012cdc49c1aa38197861e04f62e91e diff --git a/effect_chain.cpp b/effect_chain.cpp index 114670c..9aa092b 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -29,6 +29,8 @@ using namespace std; +namespace movit { + EffectChain::EffectChain(float aspect_nom, float aspect_denom, ResourcePool *resource_pool) : aspect_nom(aspect_nom), aspect_denom(aspect_denom), @@ -1413,10 +1415,6 @@ void EffectChain::finalize() output_dot("step19-split-to-phases.dot"); - for (unsigned i = 0; i < inputs.size(); ++i) { - inputs[i]->finalize(); - } - assert(phases[0]->inputs.empty()); finalized = true; @@ -1580,3 +1578,5 @@ void EffectChain::render_to_fbo(GLuint dest_fbo, unsigned width, unsigned height check_error(); } } + +} // namespace movit