X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=blur_effect.cpp;fp=blur_effect.cpp;h=29e46b0583890f1e1f2c4b65ec130ec086f38bb9;hp=6e5e843d5ce21b2608b4232716021472e1c65574;hb=185ced44b129739c9b5438da691e71d664d6443a;hpb=fe7a508885d19950c43e46dc60db675375f49ffb diff --git a/blur_effect.cpp b/blur_effect.cpp index 6e5e843..29e46b0 100644 --- a/blur_effect.cpp +++ b/blur_effect.cpp @@ -199,7 +199,7 @@ void SingleBlurPassEffect::set_gl_state(GLuint glsl_program_num, const string &p float pos1 = base_pos / (float)size; float pos2 = (base_pos + 1) / (float)size; float pos, total_weight; - combine_two_samples(w1, w2, pos1, pos2, size, COMBINE_DO_NOT_ROUND, &pos, &total_weight, NULL); + combine_two_samples(w1, w2, pos1, pos2, size, &pos, &total_weight, NULL); samples[2 * i + 0] = pos; samples[2 * i + 1] = total_weight;