aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
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