diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c index b3e11c6f43..3bf6239e41 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -132,7 +132,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, ctx->opts.want_alpha ? 8 : 0, EGL_RENDERABLE_TYPE, rend, EGL_NONE };