diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-03 18:26:58 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-03 18:26:58 -0700 |
commit | b4b4c11f82e88f9a1cecd97460a9fcc192b37612 (patch) | |
tree | bd1c266012b39e4f6c7e0c961d20842d6f1ee1e9 /opengl/libs/EGL/Loader.cpp | |
parent | a650aaa3918f47ceb116ce8dfd3f1e423687fa69 (diff) | |
download | frameworks_base-b4b4c11f82e88f9a1cecd97460a9fcc192b37612.zip frameworks_base-b4b4c11f82e88f9a1cecd97460a9fcc192b37612.tar.gz frameworks_base-b4b4c11f82e88f9a1cecd97460a9fcc192b37612.tar.bz2 |
fix/clean these Android.mk following dbort and joeo's comments
Diffstat (limited to 'opengl/libs/EGL/Loader.cpp')
-rw-r--r-- | opengl/libs/EGL/Loader.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 0e0f2c2..103522e 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -165,7 +165,7 @@ void* Loader::open(EGLNativeDisplayType display, int impl, gl_hooks_t* hooks) } LOG_FATAL_IF(!index && !impl && !hnd, - "couldn't't find the default OpenGL ES implementation " + "couldn't find the default OpenGL ES implementation " "for default display"); return (void*)hnd; @@ -226,9 +226,7 @@ void *Loader::load_driver(const char* driver, gl_hooks_t* hooks, uint32_t mask) { //LOGD("%s", driver); void* dso = dlopen(driver, RTLD_NOW | RTLD_LOCAL); - LOGE_IF(!dso, - "couldn't load <%s> library (%s)", - driver, dlerror()); + LOGE_IF(!dso, "%s", dlerror()); if (dso == 0) return 0; |