]> git.sesse.net Git - movit/blobdiff - alpha_multiplication_effect.h
Prefix include guards with _MOVIT to avoid clashes with external files.
[movit] / alpha_multiplication_effect.h
index c64f2dce050d075f4230d9beca8841f173fb7ce0..b9cf251e6719fb022e8f651b1f4d952461433895 100644 (file)
@@ -1,8 +1,10 @@
-#ifndef _ALPHA_MULTIPLICATION_EFFECT_H
-#define _ALPHA_MULTIPLICATION_EFFECT_H 1
+#ifndef _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H
+#define _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H 1
 
 // Convert postmultiplied alpha to premultiplied alpha, simply by multiplying.
 
 
 // Convert postmultiplied alpha to premultiplied alpha, simply by multiplying.
 
+#include <string>
+
 #include "effect.h"
 
 class AlphaMultiplicationEffect : public Effect {
 #include "effect.h"
 
 class AlphaMultiplicationEffect : public Effect {
@@ -12,4 +14,4 @@ public:
        std::string output_fragment_shader();
 };
 
        std::string output_fragment_shader();
 };
 
-#endif // !defined(_ALPHA_MULTIPLICATION_EFFECT_H)
+#endif // !defined(_MOVIT_ALPHA_MULTIPLICATION_EFFECT_H)