diff options
author | Chris Robinson <[email protected]> | 2016-07-25 06:29:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-25 06:29:08 -0700 |
commit | 94dd34fb4b106b001797d9f5b4e98b3319a36579 (patch) | |
tree | 413499a6b2a72c3504209c947a33863ddb46176d | |
parent | c0e7aab823ce58ebd16ac393e6ed2407174ed535 (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.c | 2 |
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)); } |