]> git.sesse.net Git - movit/blobdiff - vignette_effect.h
Add proper formats for sRGB without alpha.
[movit] / vignette_effect.h
index 4501ebea45978846a12d8b868b0f7a746c643b63..fdf1a116502b8be220b74cacca1432539daec206 100644 (file)
@@ -4,11 +4,13 @@
 // A circular vignette, falling off as cosĀ² of the distance from the center
 // (the classic formula for approximating a real lens).
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class VignetteEffect : public Effect {
 public:
        VignetteEffect();
@@ -26,4 +28,6 @@ private:
        float radius, inner_radius;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_VIGNETTE_EFFECT_H)