summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2017-08-30 19:28:16 +0000
committer android-build-merger <android-build-merger@google.com> 2017-08-30 19:28:16 +0000
commita7df41d966cc6850b9de2ca1d065bb543e9df815 (patch)
treefcab0d91f39aa0be76ebde278d1f5081661415b0 /opengl
parent65714faf90f2907190943b46b3ba03102ab2d167 (diff)
parent2ba1a2a9dce87bdb6fa07f93644452ed86a2e00f (diff)
Merge "Fix monolithic, un-suffixed GLES driver search" am: cd89b87637
am: 2ba1a2a9dc Change-Id: I28bcde481b4dc85b51570a7116203f195c521d46
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 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;