mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue