From d8a4c4cd528ab317dc31a7888b28dc5d42b31f06 Mon Sep 17 00:00:00 2001 From: Shaolin Date: Mon, 12 Mar 2018 22:32:23 -0300 Subject: [PATCH] libobs-opengl: Request at least 8 bits for alpha 10bpc support is under active development all over the linux stack so while we wait for it to mature, request an alpha size of 8. --- libobs-opengl/gl-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libobs-opengl/gl-x11.c b/libobs-opengl/gl-x11.c index 058db976c..2653cb150 100644 --- a/libobs-opengl/gl-x11.c +++ b/libobs-opengl/gl-x11.c @@ -59,6 +59,7 @@ static int ctx_visual_attribs[] = { GLX_STENCIL_SIZE, 0, GLX_DEPTH_SIZE, 0, GLX_BUFFER_SIZE, 32, + GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, true, GLX_X_RENDERABLE, true, None