aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-25 06:29:08 -0700
committerChris Robinson <[email protected]>2016-07-25 06:29:08 -0700
commit94dd34fb4b106b001797d9f5b4e98b3319a36579 (patch)
tree413499a6b2a72c3504209c947a33863ddb46176d
parentc0e7aab823ce58ebd16ac393e6ed2407174ed535 (diff)
Increase the default thunk array size
This value should be enough to hold IDs for most apps without needing to reallocate it, while not being unnecessarily large (4KB).
-rw-r--r--OpenAL32/alThunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alThunk.c b/OpenAL32/alThunk.c
index 29da9bbd..72fc0dcb 100644
--- a/OpenAL32/alThunk.c
+++ b/OpenAL32/alThunk.c
@@ -35,7 +35,7 @@ static RWLock ThunkLock;
void ThunkInit(void)
{
RWLockInit(&ThunkLock);
- ThunkArraySize = 1;
+ ThunkArraySize = 1024;
ThunkArray = al_calloc(16, ThunkArraySize * sizeof(*ThunkArray));
}