]> git.sesse.net Git - movit/blobdiff - fft_pass_effect.h
Minor optimization in ResampleEffect: Set less GL state.
[movit] / fft_pass_effect.h
index 7689cf1e60688fb60d1c620baffb6ba1fac1dab9..561bc6dd20788a6605a5d55230171cba9c5a40b8 100644 (file)
@@ -50,7 +50,7 @@
 // scaling), and as fp16 has quite limited range at times, this can be relevant
 // on some GPUs for larger sizes.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <stdio.h>
 #include <string>
@@ -85,6 +85,7 @@ public:
        // in our own phase, which is exactly what we want.
        virtual bool needs_texture_bounce() const { return true; }
        virtual bool changes_output_size() const { return true; }
+       virtual bool sets_virtual_output_size() const { return false; }
 
        virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height)
        {