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
@ -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…
x
Reference in New Issue
Block a user