1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00

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

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);