From 229abb841234f342d605ab458ad174f54a4a7149 Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 16 Mar 2010 09:00:19 +0000 Subject: [PATCH] updated vendor test --- simgear/sound/soundmgr_openal.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index 16c17315..e372f3cc 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -164,8 +164,9 @@ void SGSoundMgr::init(const char *devname) { _vendor = (const char *)alGetString(AL_VENDOR); _renderer = (const char *)alGetString(AL_RENDERER); - if ( (_vendor != "OpenAL Community" && _vendor != "Apple Computer Inc.") || - (_renderer != "Software" && _renderer != "OpenAL Sample Implementation") + if ( (_vendor != "Adalin" && _vendor != "Apple Computer Inc.") && + (_vendor != "OpenAL Community" || (_renderer != "Software" && + _renderer != "OpenAL Sample Implementation")) ) { _bad_doppler = true; -- 2.39.5