X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_pass_effect.h;h=90e88bc1fddd94650c1deae08011e9c2d0e5395e;hp=501c562700716ba3e0969595af950fdefb46d53f;hb=15daf781e6ce00ec37ca806a16e490d59dcb4e24;hpb=56ff92c5828a143595eeb7a1906418cc30668f9d diff --git a/fft_pass_effect.h b/fft_pass_effect.h index 501c562..90e88bc 100644 --- a/fft_pass_effect.h +++ b/fft_pass_effect.h @@ -98,10 +98,13 @@ public: *width = *virtual_width = input_width; *height = *virtual_height = input_height; } + + virtual void inform_added(EffectChain *chain) { this->chain = chain; } enum Direction { HORIZONTAL = 0, VERTICAL = 1 }; private: + EffectChain *chain; int input_width, input_height; GLuint tex; int fft_size;