X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;h=a8b66ce3caa199320012dd7180d6c3bb5981848e;hp=f4706a4324239e3e34b300423f9c6204e22e9fac;hb=ef7665d0d3854b3464800d8d7fef9a90f14d9a9f;hpb=1e2d23133575fc1cfeb14652e4b383883bf24512 diff --git a/effect_chain.cpp b/effect_chain.cpp index f4706a4..a8b66ce 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -22,6 +22,8 @@ #include "vignette_effect.h" #include "blur_effect.h" #include "diffusion_effect.h" +#include "glow_effect.h" +#include "mix_effect.h" #include "input.h" EffectChain::EffectChain(unsigned width, unsigned height) @@ -85,6 +87,10 @@ Effect *instantiate_effect(EffectId effect) return new BlurEffect(); case EFFECT_DIFFUSION: return new DiffusionEffect(); + case EFFECT_GLOW: + return new GlowEffect(); + case EFFECT_MIX: + return new MixEffect(); } assert(false); }