diff options
-rw-r--r-- | OpenAL32/alSource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 8da9e9e1..5b40f7eb 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -737,7 +737,8 @@ ALAPI void ALAPIENTRY alSource3i(ALuint source, ALenum eParam, ALint lValue1, AL case AL_AUXILIARY_SEND_FILTER: if(lValue2 >= 0 && lValue2 < MAX_SENDS && - alIsAuxiliaryEffectSlot(lValue1) && alIsFilter(lValue3)) + (alIsAuxiliaryEffectSlot(lValue1) || lValue1 == 0) && + alIsFilter(lValue3)) { ALeffectslot *ALEffectSlot = (ALeffectslot*)ALTHUNK_LOOKUPENTRY(lValue1); ALfilter *ALFilter = (ALfilter*)ALTHUNK_LOOKUPENTRY(lValue3); |