mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
[634/906] wayland egl: deactivate context before we destroy it
avoids a segfault with dri drivers
This commit is contained in:
parent
db236c510f
commit
68b4ddff12
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