diff options
author | Chris Robinson <[email protected]> | 2007-11-30 00:28:34 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-11-30 00:28:34 -0800 |
commit | ab34e7c613aad78e193ba6f8a4d5631f1ba6a613 (patch) | |
tree | b50af3eed21b778be4599f5cd90b4c96ffb2616c /Alc/ALc.c | |
parent | aea161d98774d1281df02ae6231348890c5a0f3f (diff) |
Use an AL_PRINT macro for printing lib messages/errors to the console
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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 |