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

Commit 797c3909 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6421

* changes:
  Make opengl loader use an absolute path.
parents b3ad6d44 92a3ed43
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -139,7 +139,7 @@ void* Loader::open(EGLNativeDisplayType display, int impl, gl_hooks_t* hooks)
    char path[PATH_MAX];
    char path[PATH_MAX];
    int index = int(display);
    int index = int(display);
    driver_t* hnd = 0;
    driver_t* hnd = 0;
    const char* const format = "egl/lib%s_%s.so";
    const char* const format = "/system/lib/egl/lib%s_%s.so";
    
    
    char const* tag = getTag(index, impl);
    char const* tag = getTag(index, impl);
    if (tag) {
    if (tag) {