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:
parent
9b091f528e
commit
30fafe4f4a
|
@ -235,7 +235,7 @@ static struct wlr_egl *egl_create(void) {
|
||||||
return egl;
|
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;
|
egl->display = display;
|
||||||
|
|
||||||
EGLint major, minor;
|
EGLint major, minor;
|
||||||
|
|
Loading…
Reference in New Issue