diff options
| author | 2017-08-30 19:22:07 +0000 | |
|---|---|---|
| committer | 2017-08-30 19:22:07 +0000 | |
| commit | 2ba1a2a9dce87bdb6fa07f93644452ed86a2e00f (patch) | |
| tree | fcab0d91f39aa0be76ebde278d1f5081661415b0 | |
| parent | 356f25b55ee9a5d9897115280c9cddf56094e65e (diff) | |
| parent | cd89b8763761743d5ea507acf1c6c8a552b6069d (diff) | |
Merge "Fix monolithic, un-suffixed GLES driver search"
am: cd89b87637
Change-Id: I1adf9eeca0f3af79adf1a6ff298ab7cfb52a2637
| -rw-r--r-- | opengl/libs/EGL/Loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 32f8caa989..90954796df 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -389,7 +389,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; |