We don't need it in the mesa implementation, but other implementations
might and it's symmetric with wl_egl_pixmap_create().
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);
wl_egl_display_destroy(struct wl_egl_display *egl_display);
struct wl_egl_window *
-wl_egl_window_create(struct wl_surface *surface,
+wl_egl_window_create(struct wl_egl_display *egl_display,
+ struct wl_surface *surface,
int width, int height,
struct wl_visual *visual);