]> git.sesse.net Git - movit/blobdiff - effect.cpp
Fix a bug where having two DeconvolutionSharpenEffects in one chain would cause shade...
[movit] / effect.cpp
index 9cd611f8518ed3cd2a4d58c8dd2bb7a69ce0cfb0..fb66514a290d1cb780c6a87b2fae4b97a8d9627f 100644 (file)
@@ -1,4 +1,4 @@
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
@@ -6,10 +6,11 @@
 
 #include "effect.h"
 #include "effect_util.h"
-#include "util.h"
 
 using namespace std;
 
+namespace movit {
+
 bool Effect::set_int(const string &key, int value)
 {
        if (params_int.count(key) == 0) {
@@ -146,3 +147,5 @@ void Effect::set_gl_state(GLuint glsl_program_num, const string& prefix, unsigne
 }
 
 void Effect::clear_gl_state() {}
+
+}  // namespace movit