aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 73e8bee5..2b1c4ba6 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -33,9 +33,7 @@
///////////////////////////////////////////////////////
// DEBUG INFORMATION
-#ifdef _DEBUG
- char szDebug[256];
-#endif
+char szDebug[256];
///////////////////////////////////////////////////////
@@ -346,10 +344,7 @@ static ALCvoid ExitContext(ALCcontext *pContext)
#ifdef _DEBUG
if (pContext->SourceCount>0)
- {
- sprintf(szDebug,"OpenAL32 : alcDestroyContext() %d Source(s) NOT deleted\n", pContext->SourceCount);
- OutputDebugString(szDebug);
- }
+ AL_PRINT("alcDestroyContext() %d Source(s) NOT deleted\n", pContext->SourceCount);
#endif
// Free all the Sources still remaining