Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2004-11-29 23:36:03 +0300
committerJean-Luc Peurière <jlp@nerim.net>2004-11-29 23:36:03 +0300
commite4562134d28af07b6115436fdfaa4523020ea733 (patch)
tree8cea89040fc02cdcf223ddd8e7b69ee141dfb8c2 /intern
parenta54cde872d1162b1aec73c3b6ff893719cdde995 (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')
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp3
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()