summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-27 16:46:01 +0200
committerwm4 <wm4@nowhere>2016-03-27 16:46:01 +0200
commitc51fe7944d97d79af5c73c38e415af2332e529ff (patch)
treec8df48e3b071e4c5a821db1d762122d32f02c90a
parent4470976cee12eb7d3d40d5843a5508d2a33a81d7 (diff)
downloadmpv-c51fe7944d97d79af5c73c38e415af2332e529ff.tar.bz2
mpv-c51fe7944d97d79af5c73c38e415af2332e529ff.tar.xz
vo_openg: fix debanding + rectangle-textures
-rw-r--r--video/out/opengl/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 5a92d4286d..41a1110661 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -1574,7 +1574,7 @@ static void pass_read_video(struct gl_video *p)
int id = pass_bind(p, tex[n]);
pass_sample_deband(p->sc, p->opts.deband_opts, id, tex[n].multiplier,
- p->gl_target, &p->lfg);
+ tex[n].gl_target, &p->lfg);
skip_unused(p, tex[n].components);
finish_pass_fbo(p, &p->deband_fbo[n], tex[n].w, tex[n].h, 0);
tex[n] = img_tex_fbo(&p->deband_fbo[n], identity_trans,