mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vo_opengl: skip GLES when autoprobing
There are probably bugs with GLES support; also, if you somehow get GLES instead of desktop GL on a desktop computer, something else is probably wrong. So I see no point in using this automatically. We first need to find out whether the GLES support works on real hardware, and whether it is useful at all.
This commit is contained in:
parent
d31e584292
commit
e749d26ac3
@ -957,6 +957,11 @@ MPGLContext *mpgl_init(struct vo *vo, const char *backend_name,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (ctx->gl->es && vo->probing) {
|
||||
MP_INFO(ctx->vo, "Skipping experimental GLES support (use --vo=opengl).\n");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (ctx->gl->mpgl_caps & MPGL_CAP_SW) {
|
||||
MP_WARN(ctx->vo, "Suspected software renderer or indirect context.\n");
|
||||
if (vo->probing)
|
||||
|
Loading…
Reference in New Issue
Block a user