]> git.sesse.net Git - movit/blobdiff - gamma_expansion_effect.h
Mark some functions in Effect as const.
[movit] / gamma_expansion_effect.h
index f079e7085f6e7ba6f6721f8aa3142e9ddb2f88e6..f3e20c59ed95eba6030750cb04bf1846b37898fe 100644 (file)
@@ -11,8 +11,8 @@ public:
        GammaExpansionEffect();
        std::string output_fragment_shader();
 
-       virtual bool needs_linear_light() { return false; }
-       virtual bool needs_srgb_primaries() { return false; }
+       virtual bool needs_linear_light() const { return false; }
+       virtual bool needs_srgb_primaries() const { return false; }
 
 private:
        GammaCurve source_curve;