X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=test_util.cpp;fp=test_util.cpp;h=b377309638114057f2d99a56c852ee010bebb18f;hp=ada84dca8832f24513c40a05d58fae7f6de97869;hb=d47ac1e362683896033f43ecd9aeb2f2330b5678;hpb=88003f99c7ef12ed895e504d41c6d528c3fda78d diff --git a/test_util.cpp b/test_util.cpp index ada84dc..b377309 100644 --- a/test_util.cpp +++ b/test_util.cpp @@ -46,8 +46,14 @@ void vertical_flip(T *data, unsigned width, unsigned height) EffectChainTester::EffectChainTester(const float *data, unsigned width, unsigned height, MovitPixelFormat pixel_format, Colorspace color_space, GammaCurve gamma_curve, - GLenum framebuffer_format) - : chain(width, height, get_static_pool()), width(width), height(height), framebuffer_format(framebuffer_format), output_added(false), finalized(false) + GLenum framebuffer_format, + GLenum intermediate_format) + : chain(width, height, get_static_pool(), intermediate_format), + width(width), + height(height), + framebuffer_format(framebuffer_format), + output_added(false), + finalized(false) { CHECK(init_movit(".", MOVIT_DEBUG_OFF));