]> git.sesse.net Git - movit/blobdiff - effect_chain.cpp
Add a mirror effect.
[movit] / effect_chain.cpp
index 04b698f25bacecc29a03472910c6bfe5f22246d9..f860cad283e7983b543beb2e4cfbb93501e5f4cb 100644 (file)
@@ -14,6 +14,7 @@
 #include "lift_gamma_gain_effect.h"
 #include "colorspace_conversion_effect.h"
 #include "saturation_effect.h"
+#include "mirror_effect.h"
 #include "vignette_effect.h"
 #include "texture_enum.h"
 
@@ -45,6 +46,8 @@ Effect *instantiate_effect(EffectId effect)
                return new LiftGammaGainEffect();
        case EFFECT_SATURATION:
                return new SaturationEffect();
+       case EFFECT_MIRROR:
+               return new MirrorEffect();
        case EFFECT_VIGNETTE:
                return new VignetteEffect();
        }