]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Emulate glReadPixels of GL_ALPHA.
[movit] / mirror_effect.h
index a33921be6b8172365828790531dff9d6e4e15d81..c4b46dbb6ff61cff94554bf845bbc8238cec8340 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _MIRROR_EFFECT_H
-#define _MIRROR_EFFECT_H 1
+#ifndef _MOVIT_MIRROR_EFFECT_H
+#define _MOVIT_MIRROR_EFFECT_H 1
 
 // A simple horizontal mirroring.
 
@@ -7,6 +7,8 @@
 
 #include "effect.h"
 
+namespace movit {
+
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
@@ -18,4 +20,6 @@ public:
        virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
 };
 
-#endif // !defined(_MIRROR_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_MIRROR_EFFECT_H)