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

Commit 56c132c2 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 5219a82f: am 8ecfb60a: Merge "Fix a bug that prevented the creation of EGL...

am 5219a82f: am 8ecfb60a: Merge "Fix a bug that prevented the creation of EGL shared contexts." into gingerbread

Merge commit '5219a82f'

* commit '5219a82f':
  Fix a bug that prevented the creation of EGL shared contexts.
parents 838fd9c4 5219a82f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1045,6 +1045,10 @@ EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,
    int i=0, index=0;
    egl_connection_t* cnx = validate_display_config(dpy, config, dp, i, index);
    if (cnx) {
        if (share_list != EGL_NO_CONTEXT) {
            egl_context_t* const c = get_context(share_list);
            share_list = c->context;
        }
        EGLContext context = cnx->egl.eglCreateContext(
                dp->disp[i].dpy, dp->disp[i].config[index],
                share_list, attrib_list);