]> git.sesse.net Git - movit/blobdiff - alpha_division_effect.h
Fix a small overallocation.
[movit] / alpha_division_effect.h
index e700112fb2a909c108c2ddb48ccbb3b96d5ab0ed..6fcc716d48bf93e180f8656f99af0a48b868a100 100644 (file)
@@ -1,10 +1,14 @@
-#ifndef _ALPHA_DIVISION_EFFECT_H
-#define _ALPHA_DIVISION_EFFECT_H 1
+#ifndef _MOVIT_ALPHA_DIVISION_EFFECT_H
+#define _MOVIT_ALPHA_DIVISION_EFFECT_H 1
 
 // Convert premultiplied alpha to postmultiplied alpha, simply by multiplying.
 
+#include <string>
+
 #include "effect.h"
 
+namespace movit {
+
 class AlphaDivisionEffect : public Effect {
 public:
        AlphaDivisionEffect() {}
@@ -12,4 +16,6 @@ public:
        std::string output_fragment_shader();
 };
 
-#endif // !defined(_ALPHA_DIVISION_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_ALPHA_DIVISION_EFFECT_H)