Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8902 for code/trunk


Ignore:
Timestamp:
Oct 21, 2011, 5:05:55 PM (13 years ago)
Author:
baermatt
Message:

Outcommented alutInit and alutExit because it caused a crash on Mac OS X. (Does it work on other systems?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/sound/SoundManager.cc

    r8858 r8902  
    8080        if (bDisableSound_)
    8181            ThrowException(InitialisationAborted, "Sound: Not loading at all");
    82         if (!alutInitWithoutContext(NULL, NULL))
     82/*      if (!alutInitWithoutContext(NULL, NULL))
    8383            ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError()));
    84         Loki::ScopeGuard alutExitGuard = Loki::MakeGuard(&alutExit);
     84        Loki::ScopeGuard alutExitGuard = Loki::MakeGuard(&alutExit);*/
    8585
    8686/*
     
    149149
    150150        // Disarm guards
    151         alutExitGuard.Dismiss();
     151//      alutExitGuard.Dismiss();
    152152        closeDeviceGuard.Dismiss();
    153153        desroyContextGuard.Dismiss();
     
    199199        alcCloseDevice(this->device_);
    200200#endif
    201         if (!alutExit())
    202             orxout(internal_error, context::sound) << "Closing ALUT failed: " << alutGetErrorString(alutGetError()) << endl;
     201/*      if (!alutExit())
     202            orxout(internal_error, context::sound) << "Closing ALUT failed: " << alutGetErrorString(alutGetError()) << endl;*/
    203203    }
    204204
Note: See TracChangeset for help on using the changeset viewer.