]> git.sesse.net Git - movit/blobdiff - diffusion_effect.h
Emulate glReadPixels of GL_ALPHA.
[movit] / diffusion_effect.h
index 390787d9a3dc4c54c2dd8408538fd43d480ab471..82eda939779b1addd847a9aa7d1cf4640817b7c0 100644 (file)
 // where we first blur the picture, and then overlay it on the original
 // using the original as a matte.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class BlurEffect;
 class EffectChain;
 class Node;
@@ -58,5 +60,6 @@ private:
        float blurred_mix_amount;
 };
 
+}  // namespace movit
 
 #endif // !defined(_MOVIT_DIFFUSION_EFFECT_H)