X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resize_effect.h;h=a921eb0f29aea02fc00e9f0bfe8c9ac9d2cc4a5e;hp=9d23806a3315a33b84da00f11d98bdfa11f0397e;hb=f0c77209245aa206996c7ef5395888e2859ff4bf;hpb=39b6975420669958ed9f4013440aea415134a902 diff --git a/resize_effect.h b/resize_effect.h index 9d23806..a921eb0 100644 --- a/resize_effect.h +++ b/resize_effect.h @@ -20,7 +20,7 @@ public: // We want processing done pre-filtering and mipmapped, // in case we need to scale down a lot. bool needs_texture_bounce() const override { return true; } - bool needs_mipmaps() const override { return true; } + MipmapRequirements needs_mipmaps() const override { return NEEDS_MIPMAPS; } AlphaHandling alpha_handling() const override { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } bool changes_output_size() const override { return true; }