From 4d27f73f4fbaceeea75b95febdb3a0da1b3e2b47 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Tue, 26 Sep 2000 12:12:49 +0000 Subject: New port openal, a 3D sound library. --- audio/openal/files/patch-src:alc:alc_context.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 audio/openal/files/patch-src:alc:alc_context.c (limited to 'audio/openal/files/patch-src:alc:alc_context.c') 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; + } + + /* -- cgit v1.2.3