diff options
author | Chris Robinson <[email protected]> | 2011-09-10 20:49:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-10 20:49:16 -0700 |
commit | c7b9d27b858d95859f7cbad5213a51c94ce6ac32 (patch) | |
tree | f8422d66e1d3793bec03c3c9d201956d9568e21f /Alc | |
parent | 30510dc4782cda703fd9dacfca2349e61bf7b9b9 (diff) |
Trace the device pointer when warning about leftover objects
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1301,21 +1301,21 @@ static ALCvoid FreeDevice(ALCdevice *device) if(device->BufferMap.size > 0) { - WARN("Deleting %d Buffer(s)\n", device->BufferMap.size); + WARN("(%p) Deleting %d Buffer(s)\n", device, device->BufferMap.size); ReleaseALBuffers(device); } ResetUIntMap(&device->BufferMap); if(device->EffectMap.size > 0) { - WARN("Deleting %d Effect(s)\n", device->EffectMap.size); + WARN("(%p) Deleting %d Effect(s)\n", device, device->EffectMap.size); ReleaseALEffects(device); } ResetUIntMap(&device->EffectMap); if(device->FilterMap.size > 0) { - WARN("Deleting %d Filter(s)\n", device->FilterMap.size); + WARN("(%p) Deleting %d Filter(s)\n", device, device->FilterMap.size); ReleaseALFilters(device); } ResetUIntMap(&device->FilterMap); |