~ubuntu-branches/ubuntu/vivid/mpv/vivid

« back to all changes in this revision

Viewing changes to video/out/gl_wayland.c

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2015-02-08 11:38:05 UTC
  • mfrom: (28.1.4 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20150208113805-hb7kk68170y002es
Tags: 0.7.3-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/rules:
    + Disable altivec on ppc64el again, as it FTBFS with it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
 
181
181
static void releaseGlContext_wayland(MPGLContext *ctx)
182
182
{
183
 
    GL *gl = ctx->gl;
184
183
    struct vo_wayland_state *wl = ctx->vo->wayland;
185
184
 
186
185
    if (wl->egl_context.egl.ctx) {
187
 
        gl->Finish();
188
186
        eglReleaseThread();
189
187
        wl_egl_window_destroy(wl->egl_context.egl_window);
190
188
        eglDestroySurface(wl->egl_context.egl.dpy, wl->egl_context.egl_surface);