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

Commit 92a3ed43 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Make opengl loader use an absolute path.

parent 42a3265c
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) {