From 830428fb0686729d287def30e86f60d6efacaec0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 2 Dec 2012 01:17:26 -0800 Subject: [PATCH] Use WARN when implicitly deleting resources with the context --- Alc/ALc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index 39296eb5..a53f0598 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1870,14 +1870,14 @@ static ALCvoid FreeContext(ALCcontext *context) if(context->SourceMap.size > 0) { - ERR("(%p) Deleting %d Source(s)\n", context, context->SourceMap.size); + WARN("(%p) Deleting %d Source(s)\n", context, context->SourceMap.size); ReleaseALSources(context); } ResetUIntMap(&context->SourceMap); if(context->EffectSlotMap.size > 0) { - ERR("(%p) Deleting %d AuxiliaryEffectSlot(s)\n", context, context->EffectSlotMap.size); + WARN("(%p) Deleting %d AuxiliaryEffectSlot(s)\n", context, context->EffectSlotMap.size); ReleaseALAuxiliaryEffectSlots(context); } ResetUIntMap(&context->EffectSlotMap);