mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
bug 2747
* it turns out Apple's OpenAL only allows for 64 alSource's by default http://opensource.creative.com/pipermail/openal/2005-October/008893.html This was the main cause of the Mac OS X OpenAL probem since we were using 128 as MAX_SRC
This commit is contained in:
parent
0141a4b4b0
commit
0bffb8a8cd
1 changed files with 5 additions and 1 deletions
|
@ -465,7 +465,11 @@ typedef struct src_s
|
|||
qboolean local; // Is this local (relative to the cam)
|
||||
} src_t;
|
||||
|
||||
#define MAX_SRC 128
|
||||
#ifdef MACOS_X
|
||||
#define MAX_SRC 64
|
||||
#else
|
||||
#define MAX_SRC 128
|
||||
#endif
|
||||
static src_t srcList[MAX_SRC];
|
||||
static int srcCount = 0;
|
||||
static qboolean alSourcesInitialised = qfalse;
|
||||
|
|
Loading…
Reference in a new issue