mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render/egl: add wlr_egl_destroy_surface
This commit is contained in:
parent
c40f86d27f
commit
eaed6bd03b
7 changed files with 15 additions and 10 deletions
|
|
@ -61,7 +61,7 @@ static void output_destroy(struct wlr_output *wlr_output) {
|
|||
|
||||
wl_list_remove(&output->link);
|
||||
wl_event_source_remove(output->frame_timer);
|
||||
eglDestroySurface(x11->egl.display, output->surf);
|
||||
wlr_egl_destroy_surface(&x11->egl, output->surf);
|
||||
xcb_destroy_window(x11->xcb_conn, output->win);
|
||||
xcb_flush(x11->xcb_conn);
|
||||
free(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue