aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alError.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-30 23:28:38 -0700
committerChris Robinson <[email protected]>2011-08-30 23:28:38 -0700
commit9fb91f70aafae4bbc745f9cf52d027cd2b07a52a (patch)
tree99af0c4fb9761c9e3186580aed86148b918bdb0c /OpenAL32/alError.c
parenta32a3bcda87bc7ee56a13495b4afb3280aee9f9e (diff)
Rename GetReffedContext to GetContextRef
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);