diff options
author | Chris Robinson <[email protected]> | 2011-08-22 07:40:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-22 07:40:14 -0700 |
commit | 199df253caad196162b02d61fd7ed06606193890 (patch) | |
tree | a7ef47822a1593b600c440da9cc2f0e5586df8be /OpenAL32/alThunk.c | |
parent | c1f435cc18df4e2597d166b8b1c8a0d4ba9b23a6 (diff) |
Always use the thunk functions to get object IDs
Diffstat (limited to 'OpenAL32/alThunk.c')
-rw-r--r-- | OpenAL32/alThunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/alThunk.c b/OpenAL32/alThunk.c index bb843c3e..da5a5285 100644 --- a/OpenAL32/alThunk.c +++ b/OpenAL32/alThunk.c @@ -31,14 +31,14 @@ static ALuint g_ThunkArraySize; static CRITICAL_SECTION g_ThunkLock; -void alThunkInit(void) +void ThunkInit(void) { InitializeCriticalSection(&g_ThunkLock); g_ThunkArraySize = 1; g_ThunkArray = calloc(1, g_ThunkArraySize * sizeof(*g_ThunkArray)); } -void alThunkExit(void) +void ThunkExit(void) { free(g_ThunkArray); g_ThunkArray = NULL; @@ -46,7 +46,7 @@ void alThunkExit(void) DeleteCriticalSection(&g_ThunkLock); } -ALenum alThunkNewEntry(ALuint *idx) +ALenum NewThunkEntry(ALuint *idx) { ALuint index; @@ -82,7 +82,7 @@ ALenum alThunkNewEntry(ALuint *idx) return AL_NO_ERROR; } -void alThunkRemoveEntry(ALuint index) +void FreeThunkEntry(ALuint index) { EnterCriticalSection(&g_ThunkLock); |