aboutsummaryrefslogtreecommitdiffstats
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 88e284b0..29d06027 100644
--- a/OpenAL32/alError.c
+++ b/OpenAL32/alError.c
@@ -24,12 +24,12 @@
#include "AL/alc.h"
#include "alError.h"
-AL_API ALenum AL_APIENTRY alGetError(ALvoid)
+AL_API ALenum AL_APIENTRY alGetError(void)
{
ALCcontext *Context;
ALenum errorCode;
- Context = GetReffedContext();
+ Context = GetContextRef();
if(!Context) return AL_INVALID_OPERATION;
errorCode = ExchangeInt(&Context->LastError, AL_NO_ERROR);