[634/906] wayland egl: deactivate context before we destroy it
avoids a segfault with dri drivers
This commit is contained in:
parent
757618a986
commit
88a85e7e3b
@ -453,6 +453,8 @@ failure:
|
||||
static void
|
||||
gst_gl_window_wayland_egl_destroy_context (GstGLWindowWaylandEGL * window_egl)
|
||||
{
|
||||
gst_gl_window_wayland_egl_activate (GST_GL_WINDOW (window_egl), FALSE);
|
||||
|
||||
destroy_surface (window_egl);
|
||||
|
||||
if (window_egl->egl_context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user