]> git.sesse.net Git - movit/commitdiff
Mirror does not need linear light or sRGB primaries, of course.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 3 Oct 2012 15:59:20 +0000 (17:59 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 3 Oct 2012 15:59:20 +0000 (17:59 +0200)
mirror_effect.h

index 0526c25bcb869a9e50da2885a20988bdf514e4ab..343eb173a52a96c717ee5bc49c44314bb9db6ae4 100644 (file)
@@ -9,6 +9,9 @@ class MirrorEffect : public Effect {
 public:
        MirrorEffect();
        std::string output_fragment_shader();
 public:
        MirrorEffect();
        std::string output_fragment_shader();
+
+       virtual bool needs_linear_light() const { return false; }
+       virtual bool needs_srgb_primaries() const { return false; }
 };
 
 #endif // !defined(_MIRROR_EFFECT_H)
 };
 
 #endif // !defined(_MIRROR_EFFECT_H)