summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-01 20:57:29 +0200
committerwm4 <wm4@nowhere>2015-10-01 20:57:29 +0200
commit98c4ab6d1329c95ec7454e80cc9a4d51ffab3c36 (patch)
tree40ee9d0e0a24ccb5dd4b36526d7f20f5a17518f3 /video/out/vo_opengl.c
parent4a072059630fe7d57a5fbff97d7400cc83cafe4c (diff)
downloadmpv-98c4ab6d1329c95ec7454e80cc9a4d51ffab3c36.tar.bz2
mpv-98c4ab6d1329c95ec7454e80cc9a4d51ffab3c36.tar.xz
vo_opengl: make sw suboption work without explicit backend selection
You needed to select a GL backend with the backend suboption. This was confusing. Fixes #2361.
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 e41163be9c..7c287efc7c 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -395,7 +395,7 @@ static int preinit(struct vo *vo)
vo_flags |= VOFLAG_GLES;
if (p->allow_sw)
- vo->probing = false;
+ vo_flags |= VOFLAG_SW;
p->glctx = mpgl_init(vo, p->backend, vo_flags);
if (!p->glctx)