aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-01 15:36:31 -0800
committerChris Robinson <[email protected]>2012-01-01 15:36:31 -0800
commit18216ab1a9a2369df6b901db81f42411da8a59b2 (patch)
tree82b35a1414b69e0e6d500d8ded34b98c8645fec5 /Alc/ALc.c
parent5500ed9209be44fc42b7f2eae0e49ebdb84e43b5 (diff)
Remove the warning when a context being released is globally current
Just about every implementation allows this, and there's no direct harm caused by it. However, leave the warnings for when it's still current on specific threads, as this can cause issues.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index e39ca2e7..c741ec55 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1458,10 +1458,7 @@ static void ReleaseContext(ALCcontext *context, ALCdevice *device)
}
if(CompExchangePtr((XchgPtr*)&GlobalContext, context, NULL))
- {
- WARN("%p released while current\n", context);
ALCcontext_DecRef(context);
- }
LockDevice(device);
tmp_ctx = &device->ContextList;