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>
This commit is contained in:
fakechen 2022-09-07 11:25:36 +08:00 committed by Alexander Orzechowski
parent 9b091f528e
commit 30fafe4f4a
1 changed files with 1 additions and 1 deletions

View File

@ -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;