aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b1e5da18..7400fe1e 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -484,7 +484,7 @@ static void alc_init(void)
tls_create(&LocalContext);
InitializeCriticalSection(&ListLock);
- ALTHUNK_INIT();
+ ThunkInit();
}
static void alc_deinit_safe(void)
@@ -492,7 +492,8 @@ static void alc_deinit_safe(void)
ReleaseALC(ALC_FALSE);
FreeALConfig();
- ALTHUNK_EXIT();
+
+ ThunkExit();
DeleteCriticalSection(&ListLock);
tls_delete(LocalContext);