mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -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) {
|
||||
audio_error(" load_dso(" << dl_name << ") failed, will use NullAudioManager");
|
||||
audio_error(" "<<load_dso_error());
|
||||
nassertr(_create_AudioManager == create_NullAudioManager, NULL);
|
||||
nassertr(_create_AudioManager == NULL, NULL);
|
||||
} else {
|
||||
// Get the special function from the dso, which should return the
|
||||
// AudioManager factory function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user