aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-27 20:56:34 -0800
committerChris Robinson <[email protected]>2017-02-27 20:59:52 -0800
commit52d1f7883b9ff83ff1e3b7d7109e76003361b860 (patch)
treeb880af87ee68a52a550cff9d69028a766de73726 /Alc/ALc.c
parent45d6c34015a5dc971d1e3ca095ad758339c46441 (diff)
Print WARNs when a device or context error is generated
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 56063bb1..2bff2bc4 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1731,6 +1731,7 @@ void ALCcontext_ProcessUpdates(ALCcontext *context)
*/
static void alcSetError(ALCdevice *device, ALCenum errorCode)
{
+ WARN("Error generated on device %p, code 0x%04x\n", device, errorCode);
if(TrapALCError)
{
#ifdef _WIN32