diff options
author | Chris Robinson <[email protected]> | 2011-06-30 18:10:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-30 18:10:04 -0700 |
commit | 723755788d645a04d7191dc631807660ce0125cb (patch) | |
tree | 40528da53b4652ea9b832cbb71079d024b6e13a6 /OpenAL32/alError.c | |
parent | 032d0836a74f0e17c99d68e3163f070397123abf (diff) |
Rename Suspend/ProcessContext since they are locking a mutex
Diffstat (limited to 'OpenAL32/alError.c')
-rw-r--r-- | OpenAL32/alError.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alError.c b/OpenAL32/alError.c index 43b8e44d..c4c9f4dd 100644 --- a/OpenAL32/alError.c +++ b/OpenAL32/alError.c @@ -29,13 +29,13 @@ AL_API ALenum AL_APIENTRY alGetError(ALvoid) ALCcontext *Context; ALenum errorCode; - Context = GetContextSuspended(); + Context = GetLockedContext(); if(!Context) return AL_INVALID_OPERATION; errorCode = Context->LastError; Context->LastError = AL_NO_ERROR; - ProcessContext(Context); + UnlockContext(Context); return errorCode; } |