diff options
author | Chris Robinson <[email protected]> | 2011-08-31 02:18:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-31 02:18:16 -0700 |
commit | b28f48c1bdf343ecc0a3e1dbed958b13fbba32e7 (patch) | |
tree | 36949865561b5f06b0d39569e47b807d94e9931d /Alc/ALc.c | |
parent | 49e2fa428fced4d2ab1e390ad3397dd9e11df960 (diff) |
Store the filter gains directly in the source instead of duplicate filter objects
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1267,8 +1267,8 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) if(source->Send[s].Slot) DecrementRef(&source->Send[s].Slot->ref); source->Send[s].Slot = NULL; - source->Send[s].WetFilter.type = 0; - source->Send[s].WetFilter.filter = 0; + source->Send[s].WetGain = 1.0f; + source->Send[s].WetGainHF = 1.0f; s++; } source->NeedsUpdate = AL_FALSE; |