diff options
author | Chris Robinson <[email protected]> | 2012-09-16 08:15:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-16 08:15:03 -0700 |
commit | 535e8fd0f76ac9e8a9338cfcf873aafc83d42758 (patch) | |
tree | 7b48694bcbc3f34175245603453c891d609e1400 /Alc | |
parent | a240abb6c85189ab9099326e5301b1c640a6398d (diff) |
Check the proper value for setting WetPendingClicks
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer_sse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index 6a53115a..47a6e705 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -339,6 +339,6 @@ void MixSend_SSE(SendParams *params, const ALfloat *RESTRICT data, } for(;pos < BufferSize;pos++) WetBuffer[OutPos+pos] += data[pos] * WetGain; - if(OutPos == SamplesToDo) + if(OutPos+pos == SamplesToDo) WetPendingClicks[0] += data[pos] * WetGain; } |