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:
parent
0245610b0d
commit
97fa64769e
1 changed files with 0 additions and 5 deletions
|
@ -254,11 +254,6 @@ static backend_t *glx_init(session_t *ps, xcb_window_t target) {
|
||||||
goto end;
|
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) {
|
if (glXGetConfig(ps->c.dpy, pvis, GLX_DOUBLEBUFFER, &value) || !value) {
|
||||||
log_error("Root visual is not a double buffered GL visual.");
|
log_error("Root visual is not a double buffered GL visual.");
|
||||||
goto end;
|
goto end;
|
||||||
|
|
Loading…
Reference in a new issue