Use WARN when implicitly deleting resources with the context
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user