]> git.sesse.net Git - movit/blobdiff - resample_effect.cpp
Switch from using GLEW to epoxy.
[movit] / resample_effect.cpp
index 367e8b4d52604043d6529fcdb5b392ed77136ec2..74b059404332cbab2da91d7e403954997df96a9d 100644 (file)
@@ -1,7 +1,7 @@
 // Three-lobed Lanczos, the most common choice.
 #define LANCZOS_RADIUS 3.0
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <limits.h>
 #include <math.h>
@@ -15,6 +15,8 @@
 
 using namespace std;
 
+namespace movit {
+
 namespace {
 
 float sinc(float x)
@@ -404,3 +406,5 @@ void SingleResamplePassEffect::set_gl_state(GLuint glsl_program_num, const strin
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
        check_error();
 }
+
+}  // namespace movit