]> git.sesse.net Git - movit/blobdiff - lift_gamma_gain_effect_test.cpp
Hard-assert on something that has bitten me too many times now.
[movit] / lift_gamma_gain_effect_test.cpp
index a9e866d28c73985572616be4eae3c80725e88cce..1be2847a91ee3d0c5260333461462a5452f3494a 100644 (file)
@@ -1,6 +1,6 @@
 // Unit tests for LiftGammaGainEffect.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 
 #include "effect_chain.h"
 #include "gtest/gtest.h"
@@ -8,6 +8,8 @@
 #include "lift_gamma_gain_effect.h"
 #include "test_util.h"
 
+namespace movit {
+
 TEST(LiftGammaGainEffectTest, DefaultIsNoop) {
        float data[] = {
                0.0f, 0.0f, 0.0f, 1.0f,
@@ -116,3 +118,5 @@ TEST(LiftGammaGainEffectTest, OutOfGamutColorsAreClipped) {
 
        expect_equal(expected_data, out_data, 4, 3);
 }
+
+}  // namespace movit