clients/nested-client: call eglTerminate/eglReleaseThread at exit

Do a minimalistic teardown at program exist.

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 a69b870e1d
commit 5e604082d1
  1. 2
      clients/nested-client.c

@ -345,6 +345,8 @@ nested_client_destroy(struct nested_client *client)
wl_registry_destroy(client->registry);
wl_display_flush(client->display);
wl_display_disconnect(client->display);
eglTerminate(client->egl_display);
eglReleaseThread();
}
int

Loading…
Cancel
Save