summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-11-16 00:48:42 -0800
committerChris Robinson <[email protected]>2007-11-16 00:48:42 -0800
commit092b88364bf041dd66ef5ef9ed57f16d7a7b28c6 (patch)
treeb36ae4557640c73294fd43d0e9bb2d58c44a1e26 /Alc
parente0d31020096c2754c2b6848de28541a9822b2220 (diff)
Don't use platform-specific methods for initialization
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a6ec7818..73e8bee5 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -204,6 +204,11 @@ static void InitAL(void)
if(!done)
{
int i;
+
+ InitializeCriticalSection(&g_mutex);
+ ALTHUNK_INIT();
+ ReadALConfig();
+
for(i = 0;BackendList[i].Init;i++)
BackendList[i].Init(&BackendList[i].Funcs);
done = 1;