]> git.sesse.net Git - movit/blobdiff - blur_effect_test.cpp
Emulate glReadPixels of GL_ALPHA.
[movit] / blur_effect_test.cpp
index 4114bcbc45bff018a271f8d360b388bbde85bca6..fb4e0250ef333a0b5e4586ae88ac681d0463340b 100644 (file)
@@ -1,5 +1,5 @@
 // Unit tests for BlurEffect.
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <math.h>
 #include <string.h>
 
@@ -9,6 +9,8 @@
 #include "image_format.h"
 #include "test_util.h"
 
+namespace movit {
+
 TEST(BlurEffectTest, IdentityTransformDoesNothing) {
        const int size = 4;
 
@@ -99,3 +101,5 @@ TEST(BlurEffectTest, BlurTwoDotsLargeRadius) {
 
        expect_equal(expected_data, out_data, size, size, 0.1f, 1e-3);
 }
+
+}  // namespace movit