From e4562134d28af07b6115436fdfaa4523020ea733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Mon, 29 Nov 2004 20:36:03 +0000 Subject: fix for #1590, possible fix for #1849 (to be confirmed) OpenAl is subtly different on each platform. Os X need the alutinit/exit stuff --- intern/SoundSystem/openal/SND_OpenALDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/SoundSystem') 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() -- cgit v1.2.3