[PATCH weston 5/8] clients/window: use weston_platform_destroy_egl_surface wrapper
Daniel Stone
daniel at fooishbar.org
Wed Nov 16 15:52:56 UTC 2016
Hi,
On 14 November 2016 at 17:08, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> diff --git a/clients/window.c b/clients/window.c
> index 84d585e..dabd0b0 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -645,7 +645,7 @@ egl_window_surface_destroy(struct toysurface *base)
> struct display *d = surface->display;
>
> cairo_surface_destroy(surface->cairo_surface);
> - eglDestroySurface(d->dpy, surface->egl_surface);
> + weston_platform_create_egl_surface(d->dpy, surface->egl_surface);
Er, create? :)
Cheers,
Daniel
More information about the wayland-devel
mailing list