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