Revert "remove EGL parameter from backend_autocreate"

This reverts commit 0ff13cf216.
This commit is contained in:
Devin J. Pohly 2021-02-16 13:08:58 -06:00
parent 3e82fad9c4
commit 8ed88822ca

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)))
if (!(backend = wlr_backend_autocreate(dpy, NULL)))
BARF("couldn't create backend");
/* If we don't provide a renderer, autocreate makes a GLES2 renderer for us.