Skip to content

Commit

Permalink
backend/glx: don't require the root visual to have stencil buffer
Browse files Browse the repository at this point in the history
we're not using the stencil buffer and this requirement breaks picom in
certain environments.
  • Loading branch information
absolutelynothelix committed Jul 29, 2024
1 parent 3c7a67d commit 1cad2d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/backend/gl/glx.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,6 @@ static backend_t *glx_init(session_t *ps, xcb_window_t target) {
goto end;
}

if (glXGetConfig(ps->c.dpy, pvis, GLX_STENCIL_SIZE, &value) || !value) {
log_error("Root visual lacks stencil buffer.");
goto end;
}

if (glXGetConfig(ps->c.dpy, pvis, GLX_DOUBLEBUFFER, &value) || !value) {
log_error("Root visual is not a double buffered GL visual.");
goto end;
Expand Down

0 comments on commit 1cad2d8

Please sign in to comment.