]> git.sesse.net Git - movit/blobdiff - gamma_compression_effect_test.cpp
Make all fp16 routines work with fp32 as input instead of fp64, since that is what...
[movit] / gamma_compression_effect_test.cpp
index 41fe776c28079e1783d05065fcd6bc0d80796db2..1c8768096b6485d5b6d260ae13ca0e49235dd967 100644 (file)
@@ -5,7 +5,7 @@
 // However, the accuracy tests are somewhat simpler, since we
 // only need to care about absolute errors and not relative.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <math.h>
 
 #include "gtest/gtest.h"
@@ -26,7 +26,7 @@ TEST(GammaCompressionEffectTest, sRGB_KeyValues) {
                0.040f, 0.041f,
                0.0f, 1.0f,
        };
-       float out_data[4];
+       float out_data[6];
        EffectChainTester tester(data, 2, 3, FORMAT_GRAYSCALE, COLORSPACE_sRGB, GAMMA_LINEAR);
        tester.run(out_data, GL_RED, COLORSPACE_sRGB, GAMMA_sRGB);