Revert "Revert "remove EGL parameter from backend_autocreate""

This reverts commit 8ed88822ca.
This commit is contained in:
Devin J. Pohly 2021-02-16 13:13:49 -06:00
parent e8192b4fc9
commit c1eb2b49cd

2
dwl.c
View File

@ -1995,7 +1995,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.