mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
strip out p3 prefix
This commit is contained in:
parent
6786954cf8
commit
70a32ce433
@ -66,7 +66,11 @@ PT(AudioManager) AudioManager::create_AudioManager() {
|
||||
} else {
|
||||
// Get the special function from the dso, which should return
|
||||
// the AudioManager factory function.
|
||||
string symbol_name = "get_audio_manager_func_" + audio_library_name.get_value();
|
||||
string lib_name = audio_library_name;
|
||||
if (lib_name.substr(0, 2) == "p3") {
|
||||
lib_name = lib_name.substr(3);
|
||||
}
|
||||
string symbol_name = "get_audio_manager_func_" + lib_name;
|
||||
void *dso_symbol = get_dso_symbol(handle, symbol_name);
|
||||
if (audio_cat.is_debug()) {
|
||||
audio_cat.debug()
|
||||
|
Loading…
x
Reference in New Issue
Block a user