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>
fakechen 2 years ago committed by Alexander Orzechowski
parent 9b091f528e
commit 30fafe4f4a

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

Loading…
Cancel
Save