mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
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;
|
||||
}
|
||||
|
||||
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…
Reference in New Issue
Block a user