mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Fix crash loading null audio manager
This commit is contained in:
parent
6728e5ecbe
commit
9b5ff08011
@ -71,7 +71,7 @@ PT(AudioManager) AudioManager::create_AudioManager() {
|
|||||||
if (handle == (void *)NULL) {
|
if (handle == (void *)NULL) {
|
||||||
audio_error(" load_dso(" << dl_name << ") failed, will use NullAudioManager");
|
audio_error(" load_dso(" << dl_name << ") failed, will use NullAudioManager");
|
||||||
audio_error(" "<<load_dso_error());
|
audio_error(" "<<load_dso_error());
|
||||||
nassertr(_create_AudioManager == create_NullAudioManager, NULL);
|
nassertr(_create_AudioManager == NULL, NULL);
|
||||||
} else {
|
} else {
|
||||||
// Get the special function from the dso, which should return the
|
// Get the special function from the dso, which should return the
|
||||||
// AudioManager factory function.
|
// AudioManager factory function.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user