diff options
author | wm4 <wm4@nowhere> | 2015-09-10 20:53:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-10 20:53:47 +0200 |
commit | a8eae12af5064a823976e264b33c5a37bd447ef8 (patch) | |
tree | 2163cfd3924a79816bd00244cbf2419f13668e57 /video/out/opengl/video_shaders.h | |
parent | e2139488ff79c667e32b1eaf9984c5342eae0132 (diff) | |
download | mpv-a8eae12af5064a823976e264b33c5a37bd447ef8.tar.bz2 mpv-a8eae12af5064a823976e264b33c5a37bd447ef8.tar.xz |
vo_opengl: fix shader compilation with debanding and OSX hwdec
2 things are being stupid here: Apple for requiring rectangle textures
with their IOSurface interop for no reason, and OpenGL having a
different sampler type for rectangle textures.
Diffstat (limited to 'video/out/opengl/video_shaders.h')
-rw-r--r-- | video/out/opengl/video_shaders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/video_shaders.h b/video/out/opengl/video_shaders.h index 81094e4c39..aa4afa2289 100644 --- a/video/out/opengl/video_shaders.h +++ b/video/out/opengl/video_shaders.h @@ -46,7 +46,7 @@ void pass_linearize(struct gl_shader_cache *sc, enum mp_csp_trc trc); void pass_delinearize(struct gl_shader_cache *sc, enum mp_csp_trc trc); void pass_sample_deband(struct gl_shader_cache *sc, struct deband_opts *opts, - int tex_num, float tex_mul, float img_w, float img_h, - AVLFG *lfg); + int tex_num, GLenum tex_target, float tex_mul, + float img_w, float img_h, AVLFG *lfg); #endif |