diff options
author | wm4 <wm4@nowhere> | 2016-03-16 19:09:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-03-16 19:09:52 +0100 |
commit | 71642f5d23ed4ae78172977ab46030e1f967b674 (patch) | |
tree | de7e63d2e3e6a172ab1e57b94a792c11a0ce5cad /video/out/opengl/video.c | |
parent | f8ec535131e1151ba13646acb639a10223d16f84 (diff) | |
download | mpv-71642f5d23ed4ae78172977ab46030e1f967b674.tar.bz2 mpv-71642f5d23ed4ae78172977ab46030e1f967b674.tar.xz |
vo_opengl: fix sharpen filter
Regression since commit 93546f0c.
Fixes #2956.
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r-- | video/out/opengl/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 3f0123eb65..939f979a86 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -2112,7 +2112,8 @@ static void pass_render_frame(struct gl_video *p) if (p->opts.unsharp != 0.0) { finish_pass_fbo(p, &p->unsharp_fbo, p->texture_w, p->texture_h, 0); - pass_sample_unsharp(p->sc, p->opts.unsharp); + int id = pass_read_fbo(p, &p->unsharp_fbo); + pass_sample_unsharp(p->sc, id, p->opts.unsharp); } pass_scale_main(p); |