aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-11-30 00:28:34 -0800
committerChris Robinson <[email protected]>2007-11-30 00:28:34 -0800
commitab34e7c613aad78e193ba6f8a4d5631f1ba6a613 (patch)
treeb50af3eed21b778be4599f5cd90b4c96ffb2616c /OpenAL32/alBuffer.c
parentaea161d98774d1281df02ae6231348890c5a0f3f (diff)
Use an AL_PRINT macro for printing lib messages/errors to the console
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 53ee128a..972c4ece 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -28,9 +28,6 @@
#include "alError.h"
#include "alBuffer.h"
-#ifdef _DEBUG
- char szDebug[256];
-#endif
/*
* AL Buffer Functions
@@ -966,10 +963,7 @@ ALvoid ReleaseALBuffers(ALvoid)
#ifdef _DEBUG
if(g_uiBufferCount > 0)
- {
- sprintf(szDebug, "OpenAL32 : DllMain() %d Buffer(s) NOT deleted\n", g_uiBufferCount);
- OutputDebugString(szDebug);
- }
+ AL_PRINT("exit() %d Buffer(s) NOT deleted\n", g_uiBufferCount);
#endif
ALBuffer = g_pBuffers;