aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-14 09:43:33 -0700
committerChris Robinson <[email protected]>2011-06-14 09:43:33 -0700
commit62036745f330ac1a9bbca52e8bf87d4549b5b31d (patch)
tree304b6a162ac7ef2025304b48cb45e1d3857c260e /OpenAL32/Include/alMain.h
parent264274685ad01c861e02c7687baef737e18fa716 (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 'OpenAL32/Include/alMain.h')
0 files changed, 0 insertions, 0 deletions