emulator opengl: more few fixups needed for the system to load.

Change-Id: I698b14d0f594c091c237a605aeefbb048bf746ca
This commit is contained in:
Stas Gurtovoy
2011-06-01 11:10:29 +03:00
committed by Guy Zadickario
parent 613025efb3
commit 5def410ff5
4 changed files with 10 additions and 8 deletions

View File

@@ -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;
}