]> git.sesse.net Git - movit/blobdiff - unsharp_mask_effect_test.cpp
Stop using BGR, BGRA and grayscale formats.
[movit] / unsharp_mask_effect_test.cpp
index a44c4073052352b7a90e07e0e15fb784be4c764c..e6750ce8156d6fff8856a69daaab93a69c1907f1 100644 (file)
@@ -1,6 +1,6 @@
 // Unit tests for UnsharpMaskEffect.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <math.h>
 
 #include "effect_chain.h"
@@ -9,6 +9,8 @@
 #include "test_util.h"
 #include "unsharp_mask_effect.h"
 
+namespace movit {
+
 TEST(UnsharpMaskEffectTest, NoAmountDoesNothing) {
        const int size = 4;
 
@@ -72,3 +74,5 @@ TEST(UnsharpMaskEffectTest, UnblursGaussianBlur) {
        // Add some leeway for the rest; unsharp masking is not expected to be extremely good.
        expect_equal(expected_data, out_data, size, size, 0.1, 0.001);
 }
+
+}  // namespace movit