]> git.sesse.net Git - movit/blobdiff - padding_effect.cpp
Check for __APPLE__ instead of __DARWIN__.
[movit] / padding_effect.cpp
index 9d93aca26f141149df80889472c2b6237aefed6b..f576baa2d5c3f8cb043a0395cdd3d3314a7bdd90 100644 (file)
@@ -1,4 +1,4 @@
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 
 #include "effect_util.h"
@@ -7,6 +7,8 @@
 
 using namespace std;
 
+namespace movit {
+
 PaddingEffect::PaddingEffect()
        : border_color(0.0f, 0.0f, 0.0f, 0.0f),
          output_width(1280),
@@ -130,3 +132,5 @@ void PaddingEffect::inform_input_size(unsigned input_num, unsigned width, unsign
        input_width = width;
        input_height = height;
 }
+
+}  // namespace movit