diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2004-11-29 23:36:03 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2004-11-29 23:36:03 +0300 |
commit | e4562134d28af07b6115436fdfaa4523020ea733 (patch) | |
tree | 8cea89040fc02cdcf223ddd8e7b69ee141dfb8c2 /intern/SoundSystem | |
parent | a54cde872d1162b1aec73c3b6ff893719cdde995 (diff) |
fix for #1590, possible fix for #1849 (to be confirmed)
OpenAl is subtly different on each platform. Os X need the alutinit/exit stuff
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r-- | intern/SoundSystem/openal/SND_OpenALDevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index 49ce3664d10..6eea000559d 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -202,6 +202,9 @@ ALvoid alutUnloadWAV(ALenum format,ALvoid *data,ALsizei size,ALsizei freq) #endif /* WIN32 */ +#ifdef __APPLE__ +#define OUDE_OPENAL 1 +#endif SND_OpenALDevice::SND_OpenALDevice() |