diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 30ea5d7ce1..a8e815b61c 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6319,7 +6319,8 @@ The following video options are currently all specific to ``--vo=gpu`` and unavailable, it silently falls back on a normal framebuffer. Note that if you set the ``--fbo-format`` option to a non-default value, a format with alpha must be specified, or this won't work. - This does not work on X11 with EGL and Mesa (freedesktop bug 67676). + Whether this really works depends on the windowing system and desktop + environment. no Ignore alpha component. diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c index ad026ba253..564068a448 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -120,7 +120,7 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display, EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8, EGL_BLUE_SIZE, 8, - EGL_ALPHA_SIZE, ctx->opts.want_alpha ? 1 : 0, + EGL_ALPHA_SIZE, 0, EGL_RENDERABLE_TYPE, rend, EGL_NONE };