X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resize_effect.h;fp=resize_effect.h;h=a921eb0f29aea02fc00e9f0bfe8c9ac9d2cc4a5e;hp=9d23806a3315a33b84da00f11d98bdfa11f0397e;hb=f5e3256da7d8e3a56c002da47bedf8ec1a2133f4;hpb=f8e5ddc082f2267198292ea9e53d4a8b45f7b3b1 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; }