mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user