aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_openal.c
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-02 04:01:36 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-02 04:01:36 +0000
commit3b416e75cf3a6c81d4dd1d83418a3b42d739f72f (patch)
tree7654c52f2c471984a4c507ba0256e2057df086af /code/client/snd_openal.c
parente6a0afad175d5c1ec113ed652e39b30ba15180d2 (diff)
downloadioquake3-aero-3b416e75cf3a6c81d4dd1d83418a3b42d739f72f.tar.gz
ioquake3-aero-3b416e75cf3a6c81d4dd1d83418a3b42d739f72f.zip
bug 2723
* adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/snd_openal.c')
-rw-r--r--code/client/snd_openal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c
index d9e8393..1cbd714 100644
--- a/code/client/snd_openal.c
+++ b/code/client/snd_openal.c
@@ -1524,6 +1524,8 @@ static ALCcontext *alContext;
#ifdef _WIN32
#define ALDRIVER_DEFAULT "OpenAL32.dll"
+#elif defined(MACOS_X)
+#define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
#else
#define ALDRIVER_DEFAULT "libopenal.so.0"
#endif