]> git.mxchange.org Git - simgear.git/commitdiff
updated vendor test
authorehofman <ehofman>
Tue, 16 Mar 2010 09:00:19 +0000 (09:00 +0000)
committerTim Moore <timoore33@gmail.com>
Tue, 16 Mar 2010 16:14:19 +0000 (17:14 +0100)
simgear/sound/soundmgr_openal.cxx

index 16c17315b739245a00efff3c427c8b0d24e6df7c..e372f3cc5fd0551bfb73ddd85fa627ae3f3cb4cc 100644 (file)
@@ -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;