From eaed6bd03b14e6f124723ce4da56011a80411886 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 24 Apr 2018 23:44:43 +0100 Subject: render/egl: add wlr_egl_destroy_surface --- backend/x11/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/x11') 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); -- cgit v1.2.3