X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dither_effect.h;h=cad6488921b67c5f60a3a1ac17fb97dec440b474;hb=38dfb378427d1c97113ad7644c39f7695be84c49;hp=535b783959a4a3355d16873ddbfe27f734baede6;hpb=545c9c70d0be03667a8d78da6be29836fa9c4f1d;p=movit diff --git a/dither_effect.h b/dither_effect.h index 535b783..cad6488 100644 --- a/dither_effect.h +++ b/dither_effect.h @@ -46,8 +46,13 @@ #include "effect.h" class DitherEffect : public Effect { -public: +private: + // Should not be instantiated by end users; + // call EffectChain::set_dither_bits() instead. DitherEffect(); + friend class EffectChain; + +public: ~DitherEffect(); virtual std::string effect_type_id() const { return "DitherEffect"; } std::string output_fragment_shader();