X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resize_effect.h;h=3cb40e3344d7703180e90e8d2352a73df876e87a;hp=c11f4bc9ea6dd9fd4e52241e5e16b8c46b73da21;hb=7af4d1b54ba141fdb74cd13ddc6110708855d157;hpb=2322070a3dbeb6b46b39cca07a0fbf20e95f5468 diff --git a/resize_effect.h b/resize_effect.h index c11f4bc..3cb40e3 100644 --- a/resize_effect.h +++ b/resize_effect.h @@ -17,6 +17,7 @@ public: // in case we need to scale down a lot. virtual bool need_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 void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;