mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Follow wayland-egl renames
This commit is contained in:
parent
c9824ddf35
commit
bfb8e61381
2 changed files with 13 additions and 14 deletions
|
|
@ -197,10 +197,10 @@ 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_native_window_create(window->surface,
|
||||
window->geometry.width,
|
||||
window->geometry.height,
|
||||
visual);
|
||||
wl_egl_window_create(window->surface,
|
||||
window->geometry.width,
|
||||
window->geometry.height,
|
||||
visual);
|
||||
window->egl_surface =
|
||||
eglCreateWindowSurface(display->egl.dpy,
|
||||
display->egl.conf,
|
||||
|
|
@ -308,7 +308,7 @@ main(int argc, char **argv)
|
|||
wl_display_add_global_listener(display.display,
|
||||
display_handle_global, &display);
|
||||
|
||||
display.native = wl_egl_native_display_create(display.display);
|
||||
display.native = wl_egl_display_create(display.display);
|
||||
|
||||
init_egl(&display);
|
||||
create_surface(&window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue