mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into Preview4_0
This commit is contained in:
commit
8ae8eeb2f9
1 changed files with 2 additions and 2 deletions
|
|
@ -40,9 +40,9 @@ ALboolean LoadOAL10Library(char *szOALFullPathName, LPOPENALFNTABLE lpOALFnTable
|
||||||
return AL_FALSE;
|
return AL_FALSE;
|
||||||
|
|
||||||
if (szOALFullPathName)
|
if (szOALFullPathName)
|
||||||
openal_library = dlopen(szOALFullPathName, RTLD_LAZY);
|
openal_library = dlopen(szOALFullPathName, RTLD_NOW);
|
||||||
else
|
else
|
||||||
openal_library = dlopen("libopenal.so", RTLD_LAZY);
|
openal_library = dlopen("libopenal.so.1", RTLD_NOW);
|
||||||
|
|
||||||
if (openal_library == NULL) {
|
if (openal_library == NULL) {
|
||||||
Con::errorf("Failed to load OpenAL shared library. Sound will not be available");
|
Con::errorf("Failed to load OpenAL shared library. Sound will not be available");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue