diff options
author | fakechen <chenzigui@kylinos.cn> | 2022-09-07 11:25:36 +0800 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-09-07 06:27:09 +0000 |
commit | 30fafe4f4a3c7b19e3460e12551210a3d3362371 (patch) | |
tree | c5e37bab8773713bfd26949e6c09514a1949cd1a | |
parent | 9b091f528e5d9373b725fae1f84ef6c4127e1e9b (diff) |
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 <chenzigui@kylinos.cn>
Signed-off-by: sunzg <sunzhigang1@kylinos.cn>
-rw-r--r-- | render/egl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |