summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2017-08-30 19:04:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-08-30 19:04:55 +0000
commitcd89b8763761743d5ea507acf1c6c8a552b6069d (patch)
tree4aa8d5487fe3cb894a9e75a5517489867a5ca323 /opengl
parent366905fe4fd3d0bbaa179984b02e72ab24585112 (diff)
parent4aaa96009728c3209cdcfa9278d4e0fef100fdb3 (diff)
Merge "Fix monolithic, un-suffixed GLES driver search"
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/Loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 823b502ad8..facc92ec44 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -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;