]> git.sesse.net Git - movit/blobdiff - test_util.h
Allow the EffectChainTester framebuffer to be in something else than float. This...
[movit] / test_util.h
index 67e975da50644d483d13a2f08a7bd5970fdb611a..407824d5441ddc34e4770ff54cf95e09eda28a00 100644 (file)
@@ -8,7 +8,8 @@ public:
        EffectChainTester(const float *data, unsigned width, unsigned height,
                          MovitPixelFormat pixel_format = FORMAT_GRAYSCALE,
                          Colorspace color_space = COLORSPACE_sRGB,
-                         GammaCurve gamma_curve = GAMMA_LINEAR);
+                         GammaCurve gamma_curve = GAMMA_LINEAR,
+                         GLenum framebuffer_format = GL_RGBA16F_ARB);
        ~EffectChainTester();
        
        EffectChain *get_chain() { return &chain; }