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

Commit 4aaa9600 authored by Jesse Hall's avatar Jesse Hall
Browse files

Fix monolithic, un-suffixed GLES driver search

Bug: 65160755
Test: mmm frameworks/native/opengl/libs
Change-Id: I4bb0d1f15101fa770750154fc832bd341d4c31da
parent 74a871ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -387,7 +387,7 @@ static void* load_system_driver(const char* kind) {
        static bool find(std::string& result,
                const std::string& pattern, const char* const search, bool exact) {
            if (exact) {
                std::string absolutePath = std::string(search) + "/" + pattern;
                std::string absolutePath = std::string(search) + "/" + pattern + ".so";
                if (!access(absolutePath.c_str(), R_OK)) {
                    result = absolutePath;
                    return true;