summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-07-07 16:18:18 -0700
committerMarco Nelissen <marcone@google.com>2009-07-07 16:18:18 -0700
commitfc865658b455de3bfbac609de391aaa44bea0748 (patch)
treec44a439c966808e8e81e6633e1b8cec5cd54f592 /opengl/libs/EGL
parentd7fac60c4fb7b52a11691134db60253d0cd245ad (diff)
downloadframeworks_native-fc865658b455de3bfbac609de391aaa44bea0748.zip
frameworks_native-fc865658b455de3bfbac609de391aaa44bea0748.tar.gz
frameworks_native-fc865658b455de3bfbac609de391aaa44bea0748.tar.bz2
Make opengl loader use an absolute path.
Diffstat (limited to 'opengl/libs/EGL')
-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 4f9939f..7f3f114 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -139,7 +139,7 @@ void* Loader::open(EGLNativeDisplayType display, int impl, gl_hooks_t* hooks)
char path[PATH_MAX];
int index = int(display);
driver_t* hnd = 0;
- const char* const format = "egl/lib%s_%s.so";
+ const char* const format = "/system/lib/egl/lib%s_%s.so";
char const* tag = getTag(index, impl);
if (tag) {