Set the error if setting a new integer source offset fails

This commit is contained in:
Chris Robinson 2012-09-01 19:31:43 -07:00
parent 795909c39e
commit 78dac1bf4a

View File

@ -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);