summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp
diff options
context:
space:
mode:
authorStas Gurtovoy <stas@graphtech.co.il>2011-06-01 11:10:29 +0300
committerGuy Zadickario <guy@graphtech.co.il>2011-06-21 14:48:44 +0300
commit5def410ff53842b04c6c848d0d94d468c68c5a49 (patch)
treebfb39c51111ce7a33d48262a93362173a615da29 /tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp
parent613025efb3dec6961f24882ec1f580f146bf6be8 (diff)
emulator opengl: more few fixups needed for the system to load.
Change-Id: I698b14d0f594c091c237a605aeefbb048bf746ca
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp')
-rw-r--r--tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp b/tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp
index 65107e374..e8e6ab7b0 100644
--- a/tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp
+++ b/tools/emulator/opengl/shared/OpenglOsUtils/osDynLibrary.cpp
@@ -36,6 +36,10 @@ dynLibrary *dynLibrary::open(const char *p_libName)
#endif
if (lib->m_lib == NULL) {
+ printf("Failed to load %s\n", p_libName);
+#ifndef _WIN32
+ printf("error %s\n", dlerror()); //only on linux
+#endif
delete lib;
return NULL;
}