1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-18 13:55:36 -05:00

backend/glx: don't require the root visual to have stencil buffer

we're not using the stencil buffer and this requirement breaks picom in
certain environments.
This commit is contained in:
Maxim Solovyov 2024-07-29 21:16:43 +03:00
parent 0245610b0d
commit 97fa64769e
No known key found for this signature in database

View file

@ -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;