mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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
d85c344204
commit
f2bf233ce4
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);
|
gst_gl_context_egl_activate (context, FALSE);
|
||||||
|
|
||||||
if (egl->egl_surface)
|
if (egl->egl_surface)
|
||||||
eglDestroySurface (egl->egl_surface, egl->egl_display);
|
eglDestroySurface (egl->egl_display, egl->egl_surface);
|
||||||
|
|
||||||
if (egl->egl_context)
|
if (egl->egl_context)
|
||||||
eglDestroyContext (egl->egl_display, egl->egl_context);
|
eglDestroyContext (egl->egl_display, egl->egl_context);
|
||||||
|
|
Loading…
Reference in a new issue