summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-22 07:40:14 -0700
committerChris Robinson <[email protected]>2011-08-22 07:40:14 -0700
commit199df253caad196162b02d61fd7ed06606193890 (patch)
treea7ef47822a1593b600c440da9cc2f0e5586df8be /Alc/ALc.c
parentc1f435cc18df4e2597d166b8b1c8a0d4ba9b23a6 (diff)
Always use the thunk functions to get object IDs
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);