summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 16fd589f..ca3daa3e 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -188,7 +188,7 @@ static ALenum SetSourcefv(ALsource *Source, ALCcontext *Context, ALenum name, co
if(ApplyOffset(Source) == AL_FALSE)
{
UnlockContext(Context);
- return AL_INVALID_VALUE;
+ RETERR(AL_INVALID_VALUE);
}
}
UnlockContext(Context);