Re: [PATCH] egl: do not destroy dummy_surface if it does not exist
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 16 Dec 2011 16:27:40 +0200, Pekka Paalanen <[email protected]> wrote: > On deleting an EGL device, it is possible that > cairo_egl_context_t::dummy_surface is EGL_NO_SURFACE. In that case > calling eglDestroySurface() on it will lead to EGL_BAD_SURFACE error. > > Check dummy_surface before destroying it. Pushed, thanks. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo