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

Commit 68872cac authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 81b316aa: am 98838aa0: am 77af25b6: Merge "Return back-end result from eglDestroyImageKHR"

* commit '81b316aa':
  Return back-end result from eglDestroyImageKHR
parents ded296a1 81b316aa
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1112,11 +1112,12 @@ EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img)
    const egl_display_ptr dp = validate_display(dpy);
    if (!dp) return EGL_FALSE;

    EGLBoolean result = EGL_FALSE;
    egl_connection_t* const cnx = &gEGLImpl;
    if (cnx->dso && cnx->egl.eglDestroyImageKHR) {
        cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
        result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
    }
    return EGL_TRUE;
    return result;
}

// ----------------------------------------------------------------------------