Use WARN when implicitly deleting resources with the context

This commit is contained in:
Chris Robinson
2012-12-02 01:17:26 -08:00
parent 0ca7ab2cf8
commit 830428fb06
+2 -2
View File
@@ -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);