aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-01 19:31:43 -0700
committerChris Robinson <[email protected]>2012-09-01 19:31:43 -0700
commit78dac1bf4a56f0e4dcdcb414a7b239222949b3e6 (patch)
tree5991bcc624145426327fc56233479573f68ddbb5 /OpenAL32
parent795909c39e68ef9554e90602e5b4a48bc43f4d93 (diff)
Set the error if setting a new integer source offset fails
Diffstat (limited to 'OpenAL32')
-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);