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:
wm4 2014-12-19 20:32:50 +01:00
parent d31e584292
commit e749d26ac3
1 changed files with 5 additions and 0 deletions

View File

@ -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)