Make the blur use the resize functionality, which also unbreaks the in-between sampli...
[movit] / diffusion_effect.cpp
index cf3188b..8d2903b 100644 (file)
@@ -12,18 +12,13 @@ DiffusionEffect::DiffusionEffect()
 {
 }
 
-std::string DiffusionEffect::output_fragment_shader()
-{
-       return read_file("sandbox_effect.frag");
-}
-
 void DiffusionEffect::add_self_to_effect_chain(EffectChain *chain, const std::vector<Effect *> &inputs) {
        assert(inputs.size() == 1);
        blur->add_self_to_effect_chain(chain, inputs);
 
        std::vector<Effect *> overlay_matte_inputs;
        overlay_matte_inputs.push_back(inputs[0]);
-       overlay_matte_inputs.push_back(chain->get_last_added_effect());  // FIXME
+       overlay_matte_inputs.push_back(chain->last_added_effect());  // FIXME
        overlay_matte->add_self_to_effect_chain(chain, overlay_matte_inputs);
 }