diff options
author | Chris Robinson <[email protected]> | 2011-08-29 23:05:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-29 23:10:02 -0700 |
commit | cc67f4589256efceb17c58673159b3e687ec0436 (patch) | |
tree | fe7c3688ac00bdb6ee0fc9766216ab4b9f9144b8 /Alc/ALc.c | |
parent | c6a110ec59c794f08446bd8bb9d90958903984c9 (diff) |
Use the reference counting functions for the buffer and auxiliary slot refs
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1265,7 +1265,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) while(s < MAX_SENDS) { if(source->Send[s].Slot) - source->Send[s].Slot->refcount--; + DecrementRef(&source->Send[s].Slot->ref); source->Send[s].Slot = NULL; source->Send[s].WetFilter.type = 0; source->Send[s].WetFilter.filter = 0; |