summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL
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
commitc902bf8f133e0a60a888fbc2e86f66fcbc0f0430 (patch)
treef3e5b7e805c2d4cfe2b085c1a3c0036291f9a465 /opengl/libs/EGL
parente1c00aab871066935f68c92d39a82ed61e71d812 (diff)
downloadframeworks_base-c902bf8f133e0a60a888fbc2e86f66fcbc0f0430.zip
frameworks_base-c902bf8f133e0a60a888fbc2e86f66fcbc0f0430.tar.gz
frameworks_base-c902bf8f133e0a60a888fbc2e86f66fcbc0f0430.tar.bz2
GLESv2 couldn't be loaded due to wrong path specification
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 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);