diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2000-09-26 12:12:49 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2000-09-26 12:12:49 +0000 |
commit | 4d27f73f4fbaceeea75b95febdb3a0da1b3e2b47 (patch) | |
tree | 3527e0ccf3cde30148a2855796f769c8b1c6002c /audio/openal/files/patch-src:alc:alc_context.c | |
parent | s/python/${PYTHON_CMD}/g (diff) |
New port openal, a 3D sound library.
Notes
Notes:
svn path=/head/; revision=33138
Diffstat (limited to 'audio/openal/files/patch-src:alc:alc_context.c')
-rw-r--r-- | audio/openal/files/patch-src:alc:alc_context.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/openal/files/patch-src:alc:alc_context.c b/audio/openal/files/patch-src:alc:alc_context.c new file mode 100644 index 000000000000..e39fce269521 --- /dev/null +++ b/audio/openal/files/patch-src:alc:alc_context.c @@ -0,0 +1,22 @@ +--- src/alc/alc_context.c~ Tue Aug 1 02:10:18 2000 ++++ src/alc/alc_context.c Mon Sep 25 19:20:23 2000 +@@ -65,7 +65,7 @@ + static ALCenum _alcDestroyContext(AL_context *cc); + static void _alcReallocContexts(ALuint newsize); + static int _alcCidToIndex(ALuint cid); +-static ALuint _alcIndexToCid(int index); ++static ALuint _alcIndexToCid(int idx); + + #ifdef JLIB + unsigned int jlib_debug = 0; +@@ -777,8 +777,8 @@ + return cid - CONTEXT_BASE; + } + +-static ALuint _alcIndexToCid(int index) { +- return index + CONTEXT_BASE; ++static ALuint _alcIndexToCid(int idx) { ++ return idx + CONTEXT_BASE; + } + + /* |