From afd685490dfccd4eb5980a93e4e8f053d45b2b3f Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 5 Apr 2016 20:57:02 +0200 Subject: vo_opengl: fix nnedi + rectangle textures Shader compilation error due to incompatible samplers. --- video/out/opengl/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/video.c') 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(); -- cgit v1.2.3