X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=resize_effect.h;h=61efd8da19f4ad13096fd93bfa080af042495e4d;hb=720873f02e01c2aba9ce53bb5c6bcbe887af27ce;hp=dff6dccdc3c02b0bc6e35103a553dcd0e6eff6fc;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2;p=movit diff --git a/resize_effect.h b/resize_effect.h index dff6dcc..61efd8d 100644 --- a/resize_effect.h +++ b/resize_effect.h @@ -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: