mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gl/context_egl: pass the vars in the right order to DestroySurface
https://bugzilla.gnome.org/show_bug.cgi?id=728514
This commit is contained in:
parent
3078b3a34c
commit
dad342454b
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ gst_gl_context_egl_destroy_context (GstGLContext * context)
|
|||
gst_gl_context_egl_activate (context, FALSE);
|
||||
|
||||
if (egl->egl_surface)
|
||||
eglDestroySurface (egl->egl_surface, egl->egl_display);
|
||||
eglDestroySurface (egl->egl_display, egl->egl_surface);
|
||||
|
||||
if (egl->egl_context)
|
||||
eglDestroyContext (egl->egl_display, egl->egl_context);
|
||||
|
|
Loading…
Reference in a new issue