X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_pass_effect.h;h=90e88bc1fddd94650c1deae08011e9c2d0e5395e;hp=501c562700716ba3e0969595af950fdefb46d53f;hb=67b2debafd624d3be66588171d6ec677b54247ba;hpb=7f1c8bb8b3ce08b94054f0a8990e5b8225d36036 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;