diff options
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index ab7d2380c7..bc98f513a7 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -408,11 +408,10 @@ static int preinit(struct vo *vo) if (p->use_gl_debug) vo_flags |= VOFLAG_GL_DEBUG; - int mpgl_caps = MPGL_CAP_GL21; - if (!p->allow_sw) - mpgl_caps |= MPGL_CAP_NO_SW; + if (p->allow_sw) + vo->probing = false; - p->glctx = mpgl_init(vo, p->backend, mpgl_caps, vo_flags); + p->glctx = mpgl_init(vo, p->backend, 210, vo_flags); if (!p->glctx) goto err_out; p->gl = p->glctx->gl; |