Revert "remove EGL parameter from backend_autocreate"

This reverts commit 0ff13cf216.
main
Devin J. Pohly 2021-02-16 13:08:58 -06:00
parent 3e82fad9c4
commit 8ed88822ca
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

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