aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-11 09:28:30 -0700
committerChris Robinson <[email protected]>2011-09-11 09:28:30 -0700
commit8f456f68ff15e3965ffdf579ed3f10bad996b594 (patch)
treef3b7b2ca1d2be121ccf10025b6842f321724b2d8 /Alc/ALc.c
parent54a421ec58e72e602285c115312332c3e70b7615 (diff)
Remove GetLockedContext
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 96609e0b..a6b5707e 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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