X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=multiply_effect.h;h=40a7a72791b8a332e3eda52d00b85ba5c86e6d1e;hp=92e98e30944ec61eedca44e75e27276cef26a609;hb=eff011224abc5dc81f801f3ea44572287a55bcac;hpb=12c11c0e615f7fc17ef7a600ff0c9099f7908dbc diff --git a/multiply_effect.h b/multiply_effect.h index 92e98e3..40a7a72 100644 --- a/multiply_effect.h +++ b/multiply_effect.h @@ -16,8 +16,9 @@ namespace movit { class MultiplyEffect : public Effect { public: MultiplyEffect(); - virtual std::string effect_type_id() const { return "MultiplyEffect"; } - std::string output_fragment_shader(); + std::string effect_type_id() const override { return "MultiplyEffect"; } + std::string output_fragment_shader() override; + bool strong_one_to_one_sampling() const override { return true; } private: RGBATuple factor;