summaryrefslogtreecommitdiffstats
path: root/opengl/libs
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-29 11:10:29 -0700
committerMathias Agopian <mathias@google.com>2009-07-29 11:10:29 -0700
commit574c16f9f89ab18c7b54e9b262ef3d5359a2a709 (patch)
treebc6ce9c8523f03f0e338acce9fb8569a6d38ccc3 /opengl/libs
parent34f525c9137dcd33790befe7f96240aa0c6c6ede (diff)
downloadframeworks_native-574c16f9f89ab18c7b54e9b262ef3d5359a2a709.zip
frameworks_native-574c16f9f89ab18c7b54e9b262ef3d5359a2a709.tar.gz
frameworks_native-574c16f9f89ab18c7b54e9b262ef3d5359a2a709.tar.bz2
GLESv2 couldn't be loaded due to wrong path specification
Diffstat (limited to 'opengl/libs')
-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 7f3f114..445e681 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -149,7 +149,7 @@ void* Loader::open(EGLNativeDisplayType display, int impl, gl_hooks_t* hooks)
hnd = new driver_t(dso);
} else {
// Always load EGL first
- snprintf(path, PATH_MAX, "lib%s_%s.so", "EGL", tag);
+ snprintf(path, PATH_MAX, format, "EGL", tag);
dso = load_driver(path, hooks, EGL);
if (dso) {
hnd = new driver_t(dso);