vo_opengl: reset nnedi3 weights properly

Fixes #2661
This commit is contained in:
Bin Jin 2016-01-03 22:11:23 +00:00 committed by wm4
parent fa315705be
commit 2f4bd58f4a
1 changed files with 1 additions and 0 deletions

View File

@ -617,6 +617,7 @@ static void uninit_rendering(struct gl_video *p)
p->dither_texture = 0;
gl->DeleteBuffers(1, &p->nnedi3_weights_buffer);
p->nnedi3_weights_buffer = 0;
fbotex_uninit(&p->chroma_merge_fbo);
fbotex_uninit(&p->chroma_deband_fbo);