Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9405d987 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am a05a8ac5: am af831a7b: Merge "fix [4107131] nvidia driver call takes a very...

am a05a8ac5: am af831a7b: Merge "fix [4107131] nvidia driver call takes a very long time" into honeycomb-mr1

* commit 'a05a8ac5':
  fix [4107131] nvidia driver call takes a very long time
parents 1cbf8493 a05a8ac5
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2077,14 +2077,15 @@ EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)
    if (!validate_display_context(dpy, ctx))
        return EGL_FALSE;

    EGLBoolean result = EGL_FALSE;
    egl_context_t * const c = get_context(ctx);

    if (c->cnx->egl.eglDestroySyncKHR) {
        return c->cnx->egl.eglDestroySyncKHR(
        result = c->cnx->egl.eglDestroySyncKHR(
                dp->disp[c->impl].dpy, syncObject->sync);
        if (result)
            _s.terminate();
    }

    return EGL_FALSE;
    return result;
}

EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout)