]> git.sesse.net Git - movit/blobdiff - blur_effect.h
Mark some appropriate effects as not needing sRGB primaries, and expand the comment...
[movit] / blur_effect.h
index d90f99aeaf75bb9a8de28bcfe3e0ec48bb141c74..3e516b76eba22cfb11c8441c59fe5a43ec0f6a61 100644 (file)
@@ -17,6 +17,8 @@ class BlurEffect : public Effect {
 public:
        BlurEffect();
 
+       virtual bool needs_srgb_primaries() const { return false; }
+
        virtual std::string output_fragment_shader() {
                assert(false);
        }
@@ -38,6 +40,7 @@ public:
        SingleBlurPassEffect();
        std::string output_fragment_shader();
 
+       virtual bool needs_srgb_primaries() const { return false; }
        virtual bool needs_texture_bounce() const { return true; }
        virtual bool needs_mipmaps() const { return true; }