]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Typo fixes.
[movit] / mirror_effect.h
index bd319ccb79c17b9eec1828cd828f920e4d87cdb4..da3a7117601c342ca9150f66e18fe472258340dc 100644 (file)
@@ -7,15 +7,20 @@
 
 #include "effect.h"
 
+namespace movit {
+
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
-       virtual std::string effect_type_id() const { return "MirrorEffect"; }
-       std::string output_fragment_shader();
+       std::string effect_type_id() const override { return "MirrorEffect"; }
+       std::string output_fragment_shader() override;
 
-       virtual bool needs_linear_light() const { return false; }
-       virtual bool needs_srgb_primaries() const { return false; }
-       virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
+       bool needs_linear_light() const override { return false; }
+       bool needs_srgb_primaries() const override { return false; }
+       AlphaHandling alpha_handling() const override { return DONT_CARE_ALPHA_TYPE; }
+       bool one_to_one_sampling() const override { return true; }
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_MIRROR_EFFECT_H)