Browse Source

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.
Shaolin 7 years ago
parent
commit
d8a4c4cd52
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libobs-opengl/gl-x11.c

+ 1 - 0
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