From 0ff13cf216056a36a261f4eed53c6a864989a9fb Mon Sep 17 00:00:00 2001
From: "Devin J. Pohly" <djpohly@gmail.com>
Date: Mon, 4 Jan 2021 13:55:24 -0500
Subject: remove EGL parameter from backend_autocreate

Tracking with breaking change in swaywm/wlroots#2593.
---
 dwl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'dwl.c')

diff --git a/dwl.c b/dwl.c
index ef49b99..29778d1 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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.
-- 
cgit v1.2.3