diff options
author | Chris Robinson <[email protected]> | 2011-09-11 09:28:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-11 09:28:30 -0700 |
commit | 8f456f68ff15e3965ffdf579ed3f10bad996b594 (patch) | |
tree | f3b7b2ca1d2be121ccf10025b6842f321724b2d8 /Alc/ALc.c | |
parent | 54a421ec58e72e602285c115312332c3e70b7615 (diff) |
Remove GetLockedContext
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -1566,29 +1566,6 @@ ALCvoid UnlockContext(ALCcontext *context) ALCcontext_DecRef(context); } -/* GetLockedContext - * - * Returns the currently active context, in a locked state. - */ -ALCcontext *GetLockedContext(void) -{ - ALCcontext *context = NULL; - - context = pthread_getspecific(LocalContext); - if(context) - LockContext(context); - else - { - LockLists(); - context = GlobalContext; - if(context) - LockContext(context); - UnlockLists(); - } - - return context; -} - /* GetContextRef * * Returns the currently active context, and adds a reference without locking |