diff options
author | emersion <contact@emersion.fr> | 2018-04-25 08:33:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 08:33:41 +0100 |
commit | 99e9f08c4add8f0d77c94d1b37daaec25809cf26 (patch) | |
tree | 240bcac75264906411ef9f454dced46f71702649 /backend/x11/output.c | |
parent | c40f86d27f611a2b34cead63e63c12d6a18263eb (diff) | |
parent | 018b82c01e642aae45dace95c5aae5d489e98853 (diff) |
Merge pull request #903 from emersion/wlr-egl-destroy-surface
render/egl: add wlr_egl_destroy_surface
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r-- | backend/x11/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c index df4ff043..77b4fb07 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -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); |