181
181
static void releaseGlContext_wayland(MPGLContext *ctx)
184
183
struct vo_wayland_state *wl = ctx->vo->wayland;
186
185
if (wl->egl_context.egl.ctx) {
189
187
wl_egl_window_destroy(wl->egl_context.egl_window);
190
188
eglDestroySurface(wl->egl_context.egl.dpy, wl->egl_context.egl_surface);