diff options
author | Chris Robinson <[email protected]> | 2012-01-01 15:36:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-01 15:36:31 -0800 |
commit | 18216ab1a9a2369df6b901db81f42411da8a59b2 (patch) | |
tree | 82b35a1414b69e0e6d500d8ded34b98c8645fec5 | |
parent | 5500ed9209be44fc42b7f2eae0e49ebdb84e43b5 (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.
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |