summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-05 20:57:02 +0200
committerwm4 <wm4@nowhere>2016-04-05 20:57:02 +0200
commitafd685490dfccd4eb5980a93e4e8f053d45b2b3f (patch)
tree16d5d7cbaf6fd05fd3cbc58042c7f915e801162d /video/out/opengl/video.c
parentda3489353bce9e47ab7786c4798f774b0a61340d (diff)
downloadmpv-afd685490dfccd4eb5980a93e4e8f053d45b2b3f.tar.bz2
mpv-afd685490dfccd4eb5980a93e4e8f053d45b2b3f.tar.xz
vo_opengl: fix nnedi + rectangle textures
Shader compilation error due to incompatible samplers.
Diffstat (limited to 'video/out/opengl/video.c')
-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 c2d5fc211d..f9ff6aec4e 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -1412,7 +1412,7 @@ static void pass_prescale_luma(struct gl_video *p, struct img_tex *tex,
case 2:
upload_nnedi3_weights(p);
pass_nnedi3(p->gl, p->sc, planes, id, step, tex->multiplier,
- p->opts.nnedi3_opts, &step_transform);
+ p->opts.nnedi3_opts, &step_transform, tex->gl_target);
break;
default:
abort();