]> git.sesse.net Git - movit/blobdiff - resize_effect.h
Fix a typo in ResizeEffect. Found by virtual → override transition.
[movit] / resize_effect.h
index dff6dccdc3c02b0bc6e35103a553dcd0e6eff6fc..61efd8da19f4ad13096fd93bfa080af042495e4d 100644 (file)
@@ -19,11 +19,12 @@ public:
 
        // We want processing done pre-filtering and mipmapped,
        // in case we need to scale down a lot.
-       virtual bool need_texture_bounce() const { return true; }
+       virtual bool needs_texture_bounce() const { return true; }
        virtual bool needs_mipmaps() const { return true; }
        virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }
 
        virtual bool changes_output_size() const { return true; }
+       virtual bool sets_virtual_output_size() const { return false; }
        virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
 
 private: