From 30fafe4f4a3c7b19e3460e12551210a3d3362371 Mon Sep 17 00:00:00 2001 From: fakechen Date: Wed, 7 Sep 2022 11:25:36 +0800 Subject: [PATCH] egl: modify egl_init_display function definition I think the second parameter of the function should be void* instead of void **, because we use it as a right value in the function. Signed-off-by: fakechen Signed-off-by: sunzg --- render/egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/egl.c b/render/egl.c index ee961f4b..9667207f 100644 --- a/render/egl.c +++ b/render/egl.c @@ -235,7 +235,7 @@ static struct wlr_egl *egl_create(void) { return egl; } -static bool egl_init_display(struct wlr_egl *egl, EGLDisplay *display) { +static bool egl_init_display(struct wlr_egl *egl, EGLDisplay display) { egl->display = display; EGLint major, minor;