From 36c525fc42f63bde0ef2ea48554a17a7e18411de Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 3 Feb 2013 16:39:44 +0100 Subject: [PATCH] Put the resample alpha handling on the right effect. --- resample_effect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resample_effect.h b/resample_effect.h index c81362f..74585d6 100644 --- a/resample_effect.h +++ b/resample_effect.h @@ -36,7 +36,6 @@ public: // down quite a lot. virtual bool needs_texture_bounce() 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); @@ -70,6 +69,7 @@ public: virtual bool needs_texture_bounce() 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) { -- 2.39.2