]> git.sesse.net Git - movit/blobdiff - dither_effect.h
Promote MultiplyEffect to a real effect.
[movit] / dither_effect.h
index cad6488921b67c5f60a3a1ac17fb97dec440b474..f9f371c0c5f5f2025761164bc386ec42665e7fdf 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _DITHER_EFFECT_H
-#define _DITHER_EFFECT_H 1
+#ifndef _MOVIT_DITHER_EFFECT_H
+#define _MOVIT_DITHER_EFFECT_H 1
 
 // Implements simple rectangular-PDF dither.
 //
@@ -43,6 +43,9 @@
 // like many LCD monitors do, but it starts to get very hairy, again, for limited gains.)
 // The dither is also deterministic across runs.
 
+#include <GL/glew.h>
+#include <string>
+
 #include "effect.h"
 
 class DitherEffect : public Effect {
@@ -75,4 +78,4 @@ private:
        bool need_texture_update;
 };
 
-#endif // !defined(_DITHER_EFFECT_H)
+#endif // !defined(_MOVIT_DITHER_EFFECT_H)