remove EGL parameter from backend_autocreate

Tracking with breaking change in swaywm/wlroots#2593.
This commit is contained in:
Devin J. Pohly 2021-01-04 13:55:24 -05:00
parent d7601cd48a
commit 0ff13cf216

2
dwl.c
View File

@ -2022,7 +2022,7 @@ setup(void)
* backend uses the renderer, for example, to fall back to software cursors
* if the backend does not support hardware cursors (some older GPUs
* don't). */
if (!(backend = wlr_backend_autocreate(dpy, NULL)))
if (!(backend = wlr_backend_autocreate(dpy)))
BARF("couldn't create backend");
/* If we don't provide a renderer, autocreate makes a GLES2 renderer for us.