Found by Christophe Thommeret, who also noticed these are most likely
harmless since both effects with the bug are typically last in their
chain.
check_error();
set_uniform_int(glsl_program_num, prefix, "dither_tex", *sampler_num);
check_error();
set_uniform_int(glsl_program_num, prefix, "dither_tex", *sampler_num);
// In theory, we should adjust for the texel centers that have moved here as well,
// but since we use GL_NEAREST and we don't really care a lot what texel we sample,
// In theory, we should adjust for the texel centers that have moved here as well,
// but since we use GL_NEAREST and we don't really care a lot what texel we sample,
check_error();
set_uniform_int(glsl_program_num, prefix, "sample_tex", *sampler_num);
check_error();
set_uniform_int(glsl_program_num, prefix, "sample_tex", *sampler_num);
set_uniform_int(glsl_program_num, prefix, "num_samples", src_bilinear_samples);
set_uniform_float(glsl_program_num, prefix, "num_loops", num_loops);
set_uniform_float(glsl_program_num, prefix, "slice_height", slice_height);
set_uniform_int(glsl_program_num, prefix, "num_samples", src_bilinear_samples);
set_uniform_float(glsl_program_num, prefix, "num_loops", num_loops);
set_uniform_float(glsl_program_num, prefix, "slice_height", slice_height);