]> git.sesse.net Git - movit/blobdiff - fft_pass_effect.h
Merge branch 'master' into epoxy
[movit] / fft_pass_effect.h
index 501c562700716ba3e0969595af950fdefb46d53f..90e88bc1fddd94650c1deae08011e9c2d0e5395e 100644 (file)
@@ -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;