]> git.sesse.net Git - movit/blobdiff - mix_effect_test.cpp
Stop using BGR, BGRA and grayscale formats.
[movit] / mix_effect_test.cpp
index babb76630dd185cdea4613ff8fc93dc581666d54..7e54ca5690c6777540afa47c447116c028b1eebf 100644 (file)
@@ -1,6 +1,6 @@
 // Unit tests for MixEffect.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 
 #include "effect_chain.h"
 #include "gtest/gtest.h"
@@ -9,6 +9,8 @@
 #include "mix_effect.h"
 #include "test_util.h"
 
+namespace movit {
+
 TEST(MixEffectTest, FiftyFiftyMix) {
        float data_a[] = {
                0.0f, 0.25f,
@@ -138,3 +140,5 @@ TEST(MixEffectTest, MixesLinearlyDespitesRGBInputsAndOutputs) {
 
        expect_equal(expected_data, out_data, 2, 2);
 }
+
+}  // namespace movit