summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/nnedi3.h
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/nnedi3.h
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/nnedi3.h')
-rw-r--r--video/out/opengl/nnedi3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/nnedi3.h b/video/out/opengl/nnedi3.h
index b75094a7e4..c3895a0773 100644
--- a/video/out/opengl/nnedi3.h
+++ b/video/out/opengl/nnedi3.h
@@ -40,6 +40,6 @@ const float* get_nnedi3_weights(const struct nnedi3_opts *conf, int *size);
void pass_nnedi3(GL *gl, struct gl_shader_cache *sc, int planes, int tex_num,
int step, float tex_mul, const struct nnedi3_opts *conf,
- struct gl_transform *transform);
+ struct gl_transform *transform, GLenum tex_target);
#endif