* Prevent linux crash if OpenAL cannot be loaded
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8311 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
d63fcf3e23
commit
caaf407546
@ -167,6 +167,10 @@ public class LwjglAudioRenderer implements AudioRenderer, Runnable {
|
|||||||
logger.log(Level.SEVERE, "Failed to load audio library", ex);
|
logger.log(Level.SEVERE, "Failed to load audio library", ex);
|
||||||
audioDisabled = true;
|
audioDisabled = true;
|
||||||
return;
|
return;
|
||||||
|
} catch (UnsatisfiedLinkError ex){
|
||||||
|
logger.log(Level.SEVERE, "Failed to load audio library", ex);
|
||||||
|
audioDisabled = true;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALCdevice device = AL.getDevice();
|
ALCdevice device = AL.getDevice();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user