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.
This commit is contained in:
Shaolin committed 2018-03-12 22:36:50 -03:00
1 parent b452338f62
commit d8a4c4cd52
1 file changed
+1
+1
View File
@@ -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