X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_pass_effect.h;h=460a946be4dcbdb24f8bddfcc011cb3cdb6af6a0;hp=1fd4ea2c1886ed0bd6fb1f358954989770e0e5da;hb=978b6aced44541132951fd1e2ab165fa859a7315;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/fft_pass_effect.h b/fft_pass_effect.h index 1fd4ea2..460a946 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;