]> git.sesse.net Git - movit/blobdiff - ycbcr_input_test.cpp
Check for GLES in init_movit().
[movit] / ycbcr_input_test.cpp
index 4beaaa33cb53d013f4319ed57698d1257be4ee6c..6895b3834a62602aa293c012957638684b471074 100644 (file)
@@ -1,7 +1,7 @@
 // Unit tests for YCbCrInput.
 // FIXME: This class really ought to support mipmaps.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <stddef.h>
 
 #include "effect_chain.h"
@@ -10,6 +10,8 @@
 #include "util.h"
 #include "ycbcr_input.h"
 
+namespace movit {
+
 TEST(YCbCrInput, Simple444) {
        const int width = 1;
        const int height = 5;
@@ -474,3 +476,5 @@ TEST(YCbCrInput, PBO) {
 
        glDeleteBuffers(1, &pbo);
 }
+
+}  // namespace movit