diff options
author | Chris Robinson <[email protected]> | 2011-06-14 09:43:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-14 09:43:33 -0700 |
commit | 62036745f330ac1a9bbca52e8bf87d4549b5b31d (patch) | |
tree | 304b6a162ac7ef2025304b48cb45e1d3857c260e /Alc/mixer.c | |
parent | 264274685ad01c861e02c7687baef737e18fa716 (diff) |
Separate config init from library init
OSX has a bug where the file descriptor resource limit can't be increased once
certain functions (such as fopen) are used. Since lib initialization happens in
a global constructor and includes opening and parsing config files, it prevents
apps from being able to increase the rlimit once the lib is loaded, which is
usually before main().
By delaying config init, it allows apps the opportunity to change the rlimit
before calling certain OpenAL functions.
Diffstat (limited to 'Alc/mixer.c')
0 files changed, 0 insertions, 0 deletions