diff options
author | Chris Robinson <[email protected]> | 2011-06-22 20:48:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-22 20:48:45 -0700 |
commit | cf44f499b8a1e8535b95f419111ea466207c8d6e (patch) | |
tree | 3b358a5c508ce1d0e15fb619dd65fea40e049e02 | |
parent | 39c984fda82ce6807267fff972b53729b0f521ec (diff) |
Be silent about failing to load shared libs
-rw-r--r-- | Alc/ALc.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1098,14 +1098,7 @@ ALuint timeGetTime(void) #if defined(_WIN32) void *LoadLib(const char *name) -{ - HANDLE handle; - - handle = LoadLibraryA(name); - if(handle == NULL) - AL_PRINT("Failed to open %s\n", name); - return handle; -} +{ return LoadLibraryA(name); } void CloseLib(void *handle) { FreeLibrary((HANDLE)handle); } @@ -1130,10 +1123,7 @@ void *LoadLib(const char *name) dlerror(); handle = dlopen(name, RTLD_NOW); if((err=dlerror()) != NULL) - { - AL_PRINT("Failed to open %s: %s\n", name, err); handle = NULL; - } return handle; } |