fix for #1590, possible fix for #1849 (to be confirmed)
authorJean-Luc Peurière <jlp@nerim.net>
Mon, 29 Nov 2004 20:36:03 +0000 (20:36 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Mon, 29 Nov 2004 20:36:03 +0000 (20:36 +0000)
OpenAl is subtly different on each platform. Os X need the alutinit/exit stuff

intern/SoundSystem/openal/SND_OpenALDevice.cpp

index 49ce3664d106da550679bf9d07476ce03aebd2ab..6eea000559d7355d5e1300f037a366c41ae07edb 100644 (file)
@@ -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()