summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bo Hu <bohu@google.com> 2017-09-01 00:18:23 +0000
committer android-build-merger <android-build-merger@google.com> 2017-09-01 00:18:23 +0000
commita01809939e5c4be35a1b02a2331c9a712bc1d2c0 (patch)
tree87ec084f271fbc14f3e09ab20a057351c58356a3
parent7cd89ffb8b779c9b9c1df25a2ecb1758b6a614da (diff)
parent7e7457f225ab3c4778a46b6d718acad69d305d4e (diff)
Merge "emulator: update EGL emulation library path"
am: 7e7457f225 Change-Id: I266fcafc3208813b29f79efc783644d7a746dfa8
-rw-r--r--opengl/libs/EGL/Loader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 90954796df..399affc509 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -327,17 +327,17 @@ static void* load_system_driver(const char* kind) {
switch (emulationStatus) {
case 0:
#if defined(__LP64__)
- result = "/system/lib64/egl/libGLES_android.so";
+ result = "/vendor/lib64/egl/libGLES_android.so";
#else
- result = "/system/lib/egl/libGLES_android.so";
+ result = "/vendor/lib/egl/libGLES_android.so";
#endif
return result;
case 1:
// Use host-side OpenGL through the "emulation" library
#if defined(__LP64__)
- result = std::string("/system/lib64/egl/lib") + kind + "_emulation.so";
+ result = std::string("/vendor/lib64/egl/lib") + kind + "_emulation.so";
#else
- result = std::string("/system/lib/egl/lib") + kind + "_emulation.so";
+ result = std::string("/vendor/lib/egl/lib") + kind + "_emulation.so";
#endif
return result;
default: