diff options
author | wm4 <wm4@nowhere> | 2016-05-14 12:02:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-14 12:02:02 +0200 |
commit | 449b948ee8b53f17a2dd6469f6a14c8dd4c04ccd (patch) | |
tree | 13dec45699d70c1d0260868da19266c0cdb1de9f /video/out/opengl/utils.c | |
parent | 77d50cb3cfb381137900c7568169b41ffa7b5273 (diff) | |
download | mpv-449b948ee8b53f17a2dd6469f6a14c8dd4c04ccd.tar.bz2 mpv-449b948ee8b53f17a2dd6469f6a14c8dd4c04ccd.tar.xz |
vo_opengl: remove some pointless compatibility
Remove non-texture_rg compatibility from LUT sampling. OpenGL without
texture_rg support will always trigger dumb-mode, and dumb-mode does not
use LUTs. It used not to, and that was when this made sense.
Diffstat (limited to 'video/out/opengl/utils.c')
-rw-r--r-- | video/out/opengl/utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c index 1085110802..c586f5d9a2 100644 --- a/video/out/opengl/utils.c +++ b/video/out/opengl/utils.c @@ -907,7 +907,6 @@ void gl_sc_gen_shader_and_reset(struct gl_shader_cache *sc) // fragment shader; still requires adding used uniforms and VAO elements bstr *frag = &sc->tmp[4]; ADD_BSTR(frag, *header); - ADD(frag, "#define RG %s\n", gl->mpgl_caps & MPGL_CAP_TEX_RG ? "rg" : "ra"); if (gl->glsl_version >= 130) { ADD(frag, "#define texture1D texture\n"); ADD(frag, "#define texture3D texture\n"); |