mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -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
|
|
@ -184,7 +184,7 @@ static void wlr_wl_output_destroy(struct wlr_output *wlr_output) {
|
|||
wl_callback_destroy(output->frame_callback);
|
||||
}
|
||||
|
||||
eglDestroySurface(output->backend->egl.display, output->surface);
|
||||
wlr_egl_destroy_surface(&output->backend->egl, output->egl_surface);
|
||||
wl_egl_window_destroy(output->egl_window);
|
||||
zxdg_toplevel_v6_destroy(output->xdg_toplevel);
|
||||
zxdg_surface_v6_destroy(output->xdg_surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue