diff options
author | Chris Robinson <[email protected]> | 2016-05-16 14:46:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-16 14:46:06 -0700 |
commit | 56c6b3f56cfd300ce62b6dc932a241ac619cb086 (patch) | |
tree | 56a6ab88fbc2b45be787e59c5ecb44e689278bca /OpenAL32/alSource.c | |
parent | 945fd022d6c9d612a5fae944d8cbef68927d8a92 (diff) |
Don't store the source's update method with the voice
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 1124c9c3..090b4659 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2965,10 +2965,6 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state) } } - if(BufferList->buffer->FmtChannels == FmtMono) - voice->Update = CalcAttnSourceParams; - else - voice->Update = CalcNonAttnSourceParams; UpdateSourceProps(Source, device->NumAuxSends); } else if(state == AL_PAUSED) |