summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alError.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alError.c')
-rw-r--r--OpenAL32/alError.c4
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;
}