summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-16 18:55:02 +0100
committerwm4 <wm4@nowhere>2014-12-16 18:55:20 +0100
commit0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac (patch)
tree62da75feb37ada97b833b7e0c80d4c0e763fbd87 /video/out/vo_opengl.c
parent446e759f64c8a9cf23cf5ba1aa66e02d569786ff (diff)
downloadmpv-0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac.tar.bz2
mpv-0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac.tar.xz
vo_opengl: remove requirement for RG textures
Features not supported are disabled (although with a misleading error message).
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 0728223415..65f5d4c434 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -410,7 +410,7 @@ static int preinit(struct vo *vo)
if (p->use_gl_debug)
vo_flags |= VOFLAG_GL_DEBUG;
- int mpgl_caps = MPGL_CAP_GL21 | MPGL_CAP_TEX_RG;
+ int mpgl_caps = MPGL_CAP_GL21;
if (!p->allow_sw)
mpgl_caps |= MPGL_CAP_NO_SW;