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

Commit 62d59ed7 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am a4ed1c67: am 1e4aa48c: Merge "fix [2912927] Can\'t get NV_draw_path...

am a4ed1c67: am 1e4aa48c: Merge "fix [2912927] Can\'t get NV_draw_path extension to work" into gingerbread

Merge commit 'a4ed1c6788ead0324106d76f497233ee42a1f1ac'

* commit 'a4ed1c6788ead0324106d76f497233ee42a1f1ac':
  fix [2912927] Can't get NV_draw_path extension to work
parents 8a3c61d5 5e1bf8d4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1409,7 +1409,9 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname)
                egl_connection_t* const cnx = &gEGLImpl[i];
                if (cnx->dso && cnx->egl.eglGetProcAddress) {
                    found = true;
                    cnx->hooks[i]->ext.extensions[slot] =
                    // Extensions are independent of the bound context
                    cnx->hooks[GLESv1_INDEX]->ext.extensions[slot] =
                    cnx->hooks[GLESv2_INDEX]->ext.extensions[slot] =
                            cnx->egl.eglGetProcAddress(procname);
                }
            }
@@ -1421,7 +1423,6 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname)
        }

    pthread_mutex_unlock(&gInitDriverMutex);

    return addr;
}