aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-16 16:11:22 -0700
committerChris Robinson <[email protected]>2009-08-16 16:11:22 -0700
commit487f0dde7593144ceabd817306500465caf7602a (patch)
tree71057c6757bd13133ef7cd22e03b9f6e98d5f7da /OpenAL32
parentc8f700930a08c2652c2fee312f1de20a14433af1 (diff)
Print source and auxiliary slot debug warnings from alcDestroyContext
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alAuxEffectSlot.c5
-rw-r--r--OpenAL32/alSource.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index eac415df..acefb624 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -447,11 +447,6 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *ALEffectSlot,
ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context)
{
-#ifdef _DEBUG
- if(Context->AuxiliaryEffectSlotCount > 0)
- AL_PRINT("alcDestroyContext(): deleting %d AuxiliaryEffectSlot(s)\n", Context->AuxiliaryEffectSlotCount);
-#endif
-
while(Context->AuxiliaryEffectSlot)
{
ALeffectslot *temp = Context->AuxiliaryEffectSlot;
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index de85451c..205a1c46 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2137,11 +2137,6 @@ static ALint GetByteOffset(ALsource *pSource)
ALvoid ReleaseALSources(ALCcontext *Context)
{
-#ifdef _DEBUG
- if(Context->SourceCount > 0)
- AL_PRINT("alcDestroyContext(): deleting %d Source(s)\n", Context->SourceCount);
-#endif
-
while(Context->Source)
{
ALsource *temp = Context->Source;