From: Steinar H. Gunderson Date: Sat, 2 Feb 2013 01:43:08 +0000 (+0100) Subject: Fix alpha handling for blur; it needs to be on the working (rewritten-to) effect. X-Git-Tag: 1.0~140 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=d7b26059d60a5debd032b4a3e887b612b19dd488 Fix alpha handling for blur; it needs to be on the working (rewritten-to) effect. --- diff --git a/blur_effect.h b/blur_effect.h index 062807d..76f7389 100644 --- a/blur_effect.h +++ b/blur_effect.h @@ -24,7 +24,6 @@ public: virtual bool needs_texture_bounce() const { return true; } virtual bool needs_mipmaps() const { return true; } virtual bool needs_srgb_primaries() const { return false; } - virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height); @@ -58,6 +57,7 @@ public: virtual bool needs_texture_bounce() const { return true; } virtual bool needs_mipmaps() const { return true; } virtual bool needs_srgb_primaries() const { return false; } + virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height) { if (parent != NULL) {