aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-10 20:49:16 -0700
committerChris Robinson <[email protected]>2011-09-10 20:49:16 -0700
commitc7b9d27b858d95859f7cbad5213a51c94ce6ac32 (patch)
treef8422d66e1d3793bec03c3c9d201956d9568e21f /Alc
parent30510dc4782cda703fd9dacfca2349e61bf7b9b9 (diff)
Trace the device pointer when warning about leftover objects
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index d149090d..977731e3 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);