mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
[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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue