Changeset 8902
- Timestamp:
- Oct 21, 2011, 5:05:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/SoundManager.cc
r8858 r8902 80 80 if (bDisableSound_) 81 81 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 82 82 /* if (!alutInitWithoutContext(NULL, NULL)) 83 83 ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError())); 84 Loki::ScopeGuard alutExitGuard = Loki::MakeGuard(&alutExit); 84 Loki::ScopeGuard alutExitGuard = Loki::MakeGuard(&alutExit);*/ 85 85 86 86 /* … … 149 149 150 150 // Disarm guards 151 151 // alutExitGuard.Dismiss(); 152 152 closeDeviceGuard.Dismiss(); 153 153 desroyContextGuard.Dismiss(); … … 199 199 alcCloseDevice(this->device_); 200 200 #endif 201 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;*/ 203 203 } 204 204
Note: See TracChangeset
for help on using the changeset viewer.