mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add struct wl_egl_display argument to wl_egl_window_create
We don't need it in the mesa implementation, but other implementations might and it's symmetric with wl_egl_pixmap_create().
This commit is contained in:
parent
0bbb97bab1
commit
3eff366911
2 changed files with 4 additions and 2 deletions
|
|
@ -197,7 +197,8 @@ create_surface(struct window *window)
|
|||
window->surface = wl_compositor_create_surface(display->compositor);
|
||||
visual = wl_display_get_premultiplied_argb_visual(display->display);
|
||||
window->native =
|
||||
wl_egl_window_create(window->surface,
|
||||
wl_egl_window_create(display->native,
|
||||
window->surface,
|
||||
window->geometry.width,
|
||||
window->geometry.height,
|
||||
visual);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue