]> git.sesse.net Git - nageru/blobdiff - flow_main.cpp
When fading, always interpolate the more visible half.
[nageru] / flow_main.cpp
index a961a60a9aa805df282ddd7b4a4e6fd4d428c1ea..ecaee058d78ce5b62e385160fff60549be6d8a1a 100644 (file)
@@ -379,7 +379,7 @@ void interpolate_image(int argc, char **argv, int optind)
        }
        DISComputeFlow compute_flow(width1, height1, op);
        GrayscaleConversion gray;
-       Interpolate interpolate(width1, height1, op, /*split_ycbcr_output=*/false);
+       Interpolate interpolate(op, /*split_ycbcr_output=*/false);
 
        GLuint tex_gray;
        glCreateTextures(GL_TEXTURE_2D_ARRAY, 1, &tex_gray);