X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resample_effect.cpp;h=c688d704bec9342fa03c080ec8d0dcbe914f88ab;hp=802a8968a893482460988b910f2db707d68b692b;hb=f5e3256da7d8e3a56c002da47bedf8ec1a2133f4;hpb=f8e5ddc082f2267198292ea9e53d4a8b45f7b3b1 diff --git a/resample_effect.cpp b/resample_effect.cpp index 802a896..c688d70 100644 --- a/resample_effect.cpp +++ b/resample_effect.cpp @@ -721,16 +721,6 @@ void SingleResamplePassEffect::set_gl_state(GLuint glsl_program_num, const strin } else { uniform_whole_pixel_offset = lrintf(offset) / float(input_width); } - - // We specifically do not want mipmaps on the input texture; - // they break minification. - Node *self = chain->find_node_for_effect(this); - if (chain->has_input_sampler(self, 0)) { - glActiveTexture(chain->get_input_sampler(self, 0)); - check_error(); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - check_error(); - } } Support2DTexture::Support2DTexture()