]> git.sesse.net Git - movit/blobdiff - fft_convolution_effect.h
Remove some unneeded conversions from ResampleEffect. Speeds up texture generation...
[movit] / fft_convolution_effect.h
index f601a49ccbc0f13686509d1fc1dc926eff3fe8b6..e19a804d604c4097c4031719fbf6d40cc138329c 100644 (file)
@@ -72,7 +72,7 @@
 // time, which in turn means you cannot change image or kernel size on the fly.
 
 #include <assert.h>
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
@@ -101,9 +101,6 @@ private:
        int input_width, input_height;
        int convolve_width, convolve_height;
 
-       // Chosen by algorithm.
-       int fft_width, fft_height;
-
        // Both of these are owned by us if owns_effects is true (before finalize()),
        // and otherwise owned by the EffectChain.
        FFTInput *fft_input;