clients/nested-client: destroy the EGL surface during teardown

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
dev
Emil Velikov 8 years ago committed by Daniel Stone
parent 3612be2302
commit 915ee13278
  1. 2
      clients/nested-client.c

@ -333,6 +333,8 @@ nested_client_destroy(struct nested_client *client)
EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_SURFACE,
EGL_NO_CONTEXT); EGL_NO_CONTEXT);
weston_platform_destroy_egl_surface(client->egl_display,
client->egl_surface);
wl_egl_window_destroy(client->native); wl_egl_window_destroy(client->native);
wl_surface_destroy(client->surface); wl_surface_destroy(client->surface);

Loading…
Cancel
Save