Set the error if setting a new integer source offset fails
This commit is contained in:
parent
795909c39e
commit
78dac1bf4a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user