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).
This commit is contained in:
parent
c0e7aab823
commit
94dd34fb4b
@ -35,7 +35,7 @@ static RWLock ThunkLock;
|
||||
void ThunkInit(void)
|
||||
{
|
||||
RWLockInit(&ThunkLock);
|
||||
ThunkArraySize = 1;
|
||||
ThunkArraySize = 1024;
|
||||
ThunkArray = al_calloc(16, ThunkArraySize * sizeof(*ThunkArray));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user