From 78dac1bf4a56f0e4dcdcb414a7b239222949b3e6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 1 Sep 2012 19:31:43 -0700 Subject: [PATCH] Set the error if setting a new integer source offset fails --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT