From dad342454b450afaf80af9376880ad5065449ebb Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 27 May 2014 10:47:25 +1000 Subject: [PATCH] gl/context_egl: pass the vars in the right order to DestroySurface https://bugzilla.gnome.org/show_bug.cgi?id=728514 --- gst-libs/gst/gl/egl/gstglcontext_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c index d3c8d96dbe..2cd1b31b75 100644 --- a/gst-libs/gst/gl/egl/gstglcontext_egl.c +++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -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); -- 2.34.1