diff options
author | Bin Jin <bjin1990@gmail.com> | 2016-01-03 22:11:23 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-03 23:33:54 +0100 |
commit | 2f4bd58f4adc228bed5482cd07ab9478f8dd1924 (patch) | |
tree | 1ba7a183fcd6e074eb3dfac8ca3663b775c74a02 /video/out/opengl | |
parent | fa315705be4e2850895d19aee6f16d1a1817ad08 (diff) | |
download | mpv-2f4bd58f4adc228bed5482cd07ab9478f8dd1924.tar.bz2 mpv-2f4bd58f4adc228bed5482cd07ab9478f8dd1924.tar.xz |
vo_opengl: reset nnedi3 weights properly
Fixes #2661
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 6935f9a715..3600dda8c4 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -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); |